Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001458/0.001458, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.884/1.884, allocations: 205.4 MB / 222.5 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.00111/0.00111, allocations: 99.48 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003841, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.4685, allocations: 81.39 MB / 455.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004547/0.4691, allocations: 87.95 kB / 456 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08425/0.5534, allocations: 16.29 MB / 472.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5534, allocations: 4 kB / 472.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.5534, allocations: 8 kB / 472.3 MB, free: 14.84 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.002581/0.556, allocations: 0.7723 MB / 473.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5561, allocations: 8.031 kB / 473.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.5607, allocations: 439 kB / 473.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.5615, allocations: 318.2 kB / 473.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.5616, allocations: 45.31 kB / 473.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5617, allocations: 63.94 kB / 473.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.5636, allocations: 0.557 MB / 474.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.5636, allocations: 4 kB / 474.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.5638, allocations: 20 kB / 474.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.5638, allocations: 16 kB / 474.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.566, allocations: 0.6571 MB / 475.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.5717, allocations: 2.096 MB / 477.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.5758, allocations: 3 MB / 480.3 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.576, allocations: 93.53 kB / 480.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5761, allocations: 39 kB / 480.4 MB, free: 5.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.637e-06/0.5761, allocations: 0 / 480.4 MB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003073/0.5792, allocations: 0.7665 MB / 481.2 MB, free: 5.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.5793, allocations: 55.84 kB / 481.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.5796, allocations: 199.3 kB / 481.4 MB, free: 4.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.5797, allocations: 37.64 kB / 481.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5799, allocations: 306.5 kB / 481.8 MB, free: 4.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.5801, allocations: 165.6 kB / 481.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.5802, allocations: 8 kB / 481.9 MB, free: 4.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5803, allocations: 334.8 kB / 482.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.5809, allocations: 169 kB / 482.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.5816, allocations: 282 kB / 482.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.5823, allocations: 204.7 kB / 482.9 MB, free: 3.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5824, allocations: 4 kB / 482.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001907/0.5843, allocations: 0.5823 MB / 483.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.5844, allocations: 8 kB / 483.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5844, allocations: 7.953 kB / 483.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.585, allocations: 89.11 kB / 483.6 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.5859, allocations: 111.8 kB / 483.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.5885, allocations: 1.664 MB / 485.4 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.5891, allocations: 59.45 kB / 485.4 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.5892, allocations: 24.06 kB / 485.4 MB, free: 0.625 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.0003375/0.5896, allocations: 181.6 kB / 485.6 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.5897, allocations: 27.62 kB / 485.7 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.5917, allocations: 0.5629 MB / 486.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5917, allocations: 8 kB / 486.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.5918, allocations: 7.953 kB / 486.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.5918, allocations: 3.984 kB / 486.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.5948, allocations: 1.177 MB / 487.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5948, allocations: 0 / 487.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.5955, allocations: 87.84 kB / 487.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/0.5961, allocations: 76.81 kB / 487.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.5962, allocations: 8 kB / 487.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.5987, allocations: 1.663 MB / 489.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5987, allocations: 0 / 489.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.6012, allocations: 0.835 MB / 490.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.6014, allocations: 104.8 kB / 490.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.6015, allocations: 16.06 kB / 490.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.6019, allocations: 23.94 kB / 490.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6021, allocations: 36.39 kB / 490.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.6021, allocations: 12 kB / 490.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.6024, allocations: 144.3 kB / 490.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6024, allocations: 4 kB / 490.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.6032, allocations: 167.4 kB / 490.6 MB, free: 11.24 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.0003389/0.6035, allocations: 151.1 kB / 490.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.6054, allocations: 0.6056 MB / 491.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6055, allocations: 4.125 kB / 491.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.6065, allocations: 396.9 kB / 491.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.6069, allocations: 24.17 kB / 491.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.612, allocations: 1.61 MB / 493.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.6126, allocations: 0.8256 MB / 494.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6128, allocations: 35.44 kB / 494.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of SimCode: time 2.995e-06/0.6129, allocations: 0 / 494.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of Templates: time 0.01397/0.6268, allocations: 6.486 MB / 0.489 GB, free: 1.02 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches