Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001038, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 98.91 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2806, allocations: 47.58 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.383, allocations: 81.38 MB / 457.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.3834, allocations: 83.95 kB / 457.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03843/0.4218, allocations: 16.28 MB / 473.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4219, allocations: 0 / 473.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4219, allocations: 8 kB / 473.6 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001876/0.4238, allocations: 0.7762 MB / 474.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.4238, allocations: 8.031 kB / 474.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.4267, allocations: 439 kB / 474.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.4273, allocations: 322.2 kB / 475.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.4273, allocations: 41.25 kB / 475.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4275, allocations: 63.95 kB / 475.2 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4285, allocations: 0.557 MB / 475.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.4286, allocations: 0 / 475.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.4286, allocations: 31.98 kB / 475.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4287, allocations: 12 kB / 475.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4299, allocations: 0.6648 MB / 476.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.4335, allocations: 2.092 MB / 478.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.4363, allocations: 2.993 MB / 481.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4364, allocations: 101.5 kB / 481.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4365, allocations: 39 kB / 481.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.4365, allocations: 0 / 481.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001792/0.4383, allocations: 0.7626 MB / 482.5 MB, free: 5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.4383, allocations: 63.78 kB / 482.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.4385, allocations: 195.3 kB / 482.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.4386, allocations: 29.7 kB / 482.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4388, allocations: 240.1 kB / 483 MB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.4389, allocations: 169.5 kB / 483.1 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.4389, allocations: 8 kB / 483.1 MB, free: 4.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4391, allocations: 338.8 kB / 483.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.4394, allocations: 169 kB / 483.6 MB, free: 3.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.4398, allocations: 278 kB / 483.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.4402, allocations: 204.7 kB / 484.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4402, allocations: 4 kB / 484.1 MB, free: 3.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001172/0.4414, allocations: 0.5943 MB / 484.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4414, allocations: 11.94 kB / 484.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4415, allocations: 7.953 kB / 484.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.4418, allocations: 80.78 kB / 484.8 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.4423, allocations: 111.9 kB / 484.9 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.4441, allocations: 1.656 MB / 486.6 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4445, allocations: 67.5 kB / 486.6 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.4445, allocations: 23.94 kB / 486.7 MB, free: 0.5625 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.4448, allocations: 173.6 kB / 486.8 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.4448, allocations: 27.72 kB / 486.9 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.446, allocations: 0.5707 MB / 487.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.446, allocations: 4 kB / 487.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.446, allocations: 3.953 kB / 487.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.446, allocations: 3.984 kB / 487.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4478, allocations: 1.181 MB / 488.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4478, allocations: 0 / 488.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.4482, allocations: 91.84 kB / 488.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.4485, allocations: 80.86 kB / 488.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.4485, allocations: 15.98 kB / 488.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4501, allocations: 1.648 MB / 490.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4501, allocations: 3.938 kB / 490.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.4515, allocations: 0.835 MB / 491.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.4516, allocations: 108.8 kB / 491.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.4516, allocations: 8 kB / 491.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.4519, allocations: 27.92 kB / 491.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.452, allocations: 36.33 kB / 491.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.452, allocations: 16 kB / 491.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.4522, allocations: 148.3 kB / 491.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4522, allocations: 0 / 491.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.4528, allocations: 167.5 kB / 491.8 MB, free: 11.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.4532, allocations: 158.5 kB / 492 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.4544, allocations: 0.5971 MB / 492.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4545, allocations: 4 kB / 492.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.4552, allocations: 393.8 kB / 492.9 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4556, allocations: 28.12 kB / 493 MB, free: 9.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.4594, allocations: 1.573 MB / 494.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.4598, allocations: 0.8334 MB / 495.4 MB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.4601, allocations: 47.27 kB / 495.4 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.4602, allocations: 35.42 kB / 495.5 MB, free: 7.434 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4602, allocations: 4 kB / 495.5 MB, free: 7.43 MB / 378.7 MB Notification: Performance of Templates: time 0.008323/0.4685, allocations: 3.976 MB / 499.4 MB, free: 3.469 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches