Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.0007658, allocations: 101 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3096/0.3096, allocations: 45.01 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 8 kB / 470.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.294, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01142/0.3055, allocations: 17.24 MB / 0.5382 GB, free: 25.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007826/0.3133, allocations: 6.26 MB / 0.5443 GB, free: 20.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.3159, allocations: 141.9 kB / 0.5445 GB, free: 20.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.3186, allocations: 1.22 MB / 0.5456 GB, free: 20.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006208/0.3248, allocations: 2.023 MB / 0.5476 GB, free: 18.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.3286, allocations: 1.975 MB / 0.5495 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.3437, allocations: 12.35 MB / 0.5616 GB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04329/0.387, allocations: 31.69 MB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009441/0.3965, allocations: 4.678 MB / 0.5971 GB, free: 7.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009968/0.4065, allocations: 5.441 MB / 0.6024 GB, free: 1.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002744/0.4093, allocations: 0.6797 MB / 0.6031 GB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.4147, allocations: 0.8748 MB / 0.6039 GB, free: 172 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.4188, allocations: 2.319 MB / 0.6062 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.4291, allocations: 5.564 MB / 0.6116 GB, free: 8.238 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02325/0.4524, allocations: 22.16 MB / 0.6333 GB, free: 2.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4524, allocations: 0 / 0.6333 GB, free: 2.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4524, allocations: 0 / 0.6333 GB, free: 2.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006992/0.4532, allocations: 4 kB / 0.6333 GB, free: 2.004 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03241/0.4856, allocations: 11.86 MB / 0.6449 GB, free: 6.039 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4856, allocations: 8.031 kB / 0.6449 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05392/0.5396, allocations: 11.48 MB / 0.6561 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.5531, allocations: 7.092 MB / 0.663 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009101/0.554, allocations: 0.8832 MB / 0.6639 GB, free: 2.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/0.5585, allocations: 1.172 MB / 0.665 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4793/1.038, allocations: 18.46 MB / 0.6831 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007895/1.039, allocations: 19.97 kB / 0.6831 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00384/1.042, allocations: 0.4907 MB / 0.6836 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/1.044, allocations: 0.6546 MB / 0.6842 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/1.085, allocations: 18.99 MB / 0.7027 GB, free: 101.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09968/1.184, allocations: 61.08 MB / 0.7624 GB, free: 59.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.201, allocations: 16.57 MB / 0.7786 GB, free: 42.31 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005641/1.206, allocations: 4.501 MB / 0.783 GB, free: 37.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/1.207, allocations: 321 kB / 0.7833 GB, free: 37.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/1.207, allocations: 107.6 kB / 0.7834 GB, free: 37.34 MB / 490.8 MB Notification: Performance of pre-optimization done (n=653): time 7.313e-06/1.207, allocations: 4 kB / 0.7834 GB, free: 37.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=653): time 0.01537/1.222, allocations: 12.31 MB / 0.7954 GB, free: 24.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.222, allocations: 116.5 kB / 0.7955 GB, free: 24.69 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.234, allocations: 8.553 MB / 0.8039 GB, free: 16.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.235, allocations: 133.7 kB / 0.804 GB, free: 16.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/1.237, allocations: 4.496 MB / 0.8084 GB, free: 11.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002401/1.24, allocations: 2.189 MB / 0.8105 GB, free: 9.332 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005057/1.24, allocations: 148 kB / 0.8107 GB, free: 9.188 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003432/1.241, allocations: 0.6202 MB / 0.8113 GB, free: 8.562 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004939/1.246, allocations: 4.078 MB / 0.8152 GB, free: 4.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006844/1.252, allocations: 6.879 MB / 0.822 GB, free: 12.33 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.267, allocations: 11.9 MB / 0.8336 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.268, allocations: 31.94 kB / 0.8336 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02078/1.288, allocations: 11.96 MB / 0.8453 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/1.289, allocations: 40 kB / 0.8453 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.289, allocations: 92 kB / 0.8454 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009217/1.29, allocations: 412.8 kB / 0.8458 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.296, allocations: 2.001 MB / 0.8478 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/1.303, allocations: 8.922 MB / 0.8565 GB, free: 6.703 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.309, allocations: 1.358 MB / 0.8578 GB, free: 5.332 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009469/1.31, allocations: 375.9 kB / 0.8582 GB, free: 4.965 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007219/1.317, allocations: 4.574 MB / 0.8626 GB, free: 384 kB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.319, allocations: 0.6943 MB / 0.8633 GB, free: 15.67 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/1.334, allocations: 10.57 MB / 0.8736 GB, free: 4.996 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.334, allocations: 67.94 kB / 0.8737 GB, free: 4.93 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/1.334, allocations: 7.938 kB / 0.8737 GB, free: 4.922 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.128e-05/1.334, allocations: 39.84 kB / 0.8737 GB, free: 4.883 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3643/1.699, allocations: 161.4 MB / 1.031 GB, free: 70.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/1.699, allocations: 84.97 kB / 1.031 GB, free: 70.71 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004917/1.704, allocations: 1.54 MB / 1.033 GB, free: 69.17 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007038/1.705, allocations: 380.9 kB / 1.033 GB, free: 68.78 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005191/1.705, allocations: 248 kB / 1.034 GB, free: 68.54 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/1.709, allocations: 8.798 MB / 1.042 GB, free: 59.04 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.114e-05/1.709, allocations: 131.4 kB / 1.042 GB, free: 58.91 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/1.728, allocations: 18.48 MB / 1.06 GB, free: 38.74 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004114/1.732, allocations: 2.022 MB / 1.062 GB, free: 36.83 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.734, allocations: 247.9 kB / 1.063 GB, free: 36.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004403/1.738, allocations: 0.562 MB / 1.063 GB, free: 36.03 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009207/1.739, allocations: 0.7263 MB / 1.064 GB, free: 35.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/1.739, allocations: 308 kB / 1.064 GB, free: 35 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008622/1.748, allocations: 6.001 MB / 1.07 GB, free: 29.01 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.71e-07/1.748, allocations: 4 kB / 1.07 GB, free: 29.01 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01033/1.758, allocations: 2.62 MB / 1.073 GB, free: 26.38 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/1.76, allocations: 494.3 kB / 1.073 GB, free: 25.89 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.774, allocations: 10.33 MB / 1.083 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.005e-05/1.774, allocations: 16 kB / 1.083 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/1.781, allocations: 5.432 MB / 1.088 GB, free: 9.957 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0948/1.876, allocations: 1.483 MB / 1.09 GB, free: 8.48 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/2.204, allocations: 29.04 MB / 1.118 GB, free: 170.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/2.214, allocations: 7.768 MB / 1.126 GB, free: 169 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0106/2.225, allocations: 3.562 MB / 1.129 GB, free: 168.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002669/2.228, allocations: 0.5816 MB / 1.13 GB, free: 168.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/2.228, allocations: 0 / 1.13 GB, free: 168.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1417/2.369, allocations: 98.25 MB / 1.226 GB, free: 95.98 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches