Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 246.8 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002083, allocations: 4 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08884, allocations: 51.53 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003751/0.09263, allocations: 3.317 MB / 362.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.09498, allocations: 1.449 MB / 364 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.09519, allocations: 12 kB / 364 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.09565, allocations: 167.3 kB / 364.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.09652, allocations: 346.6 kB / 364.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.09748, allocations: 0.5242 MB / 365.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.0979, allocations: 442 kB / 365.5 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.09922, allocations: 0.7877 MB / 366.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.09953, allocations: 187.1 kB / 366.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.09981, allocations: 227 kB / 366.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.09986, allocations: 20 kB / 366.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.1002, allocations: 187.8 kB / 366.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1003, allocations: 79.61 kB / 367 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1005, allocations: 236.5 kB / 367.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1011, allocations: 0.6656 MB / 367.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1011, allocations: 0 / 367.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1011, allocations: 4 kB / 367.9 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1012, allocations: 0 / 367.9 MB, free: 4.426 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001874/0.103, allocations: 0.8195 MB / 368.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1031, allocations: 12.03 kB / 368.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.1067, allocations: 499.9 kB / 369.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.107, allocations: 311.6 kB / 369.5 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.1071, allocations: 37.69 kB / 369.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.1072, allocations: 60.28 kB / 369.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.1082, allocations: 0.5259 MB / 370.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1082, allocations: 4 kB / 370.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.1082, allocations: 20 kB / 370.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1083, allocations: 12 kB / 370.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.1093, allocations: 0.5869 MB / 370.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1494/0.2587, allocations: 1.967 MB / 372.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.2603, allocations: 2.17 MB / 374.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.2608, allocations: 263.8 kB / 375.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.931e-05/0.2609, allocations: 171 kB / 375.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.2609, allocations: 39.55 kB / 375.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.494e-06/0.2609, allocations: 1.922 kB / 375.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001826/0.2628, allocations: 0.7625 MB / 376.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.2628, allocations: 56.72 kB / 376.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.263, allocations: 189.4 kB / 376.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.263, allocations: 32.92 kB / 376.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2631, allocations: 217.6 kB / 376.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.2633, allocations: 160.7 kB / 376.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.2633, allocations: 45.75 kB / 376.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.2634, allocations: 336.3 kB / 377.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2637, allocations: 157.5 kB / 377.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.264, allocations: 241.7 kB / 377.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.2647, allocations: 432 kB / 377.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2647, allocations: 1.844 kB / 377.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009795/0.2657, allocations: 0.5458 MB / 378.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2657, allocations: 5.812 kB / 378.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2658, allocations: 4.266 kB / 378.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.2661, allocations: 86.97 kB / 378.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.2665, allocations: 97.33 kB / 378.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2678, allocations: 1.648 MB / 380.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.268, allocations: 54.16 kB / 380.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2681, allocations: 15 kB / 380.4 MB, free: 12.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.2682, allocations: 173.5 kB / 380.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2683, allocations: 33.86 kB / 380.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2694, allocations: 0.552 MB / 381.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2694, allocations: 7.406 kB / 381.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2694, allocations: 1.656 kB / 381.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.2694, allocations: 2.672 kB / 381.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.271, allocations: 1.153 MB / 382.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.271, allocations: 1.438 kB / 382.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.2713, allocations: 81.17 kB / 382.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/0.2716, allocations: 84.73 kB / 382.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2716, allocations: 8.719 kB / 382.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2728, allocations: 1.647 MB / 384.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2728, allocations: 3.281 kB / 384.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.274, allocations: 0.8154 MB / 384.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2741, allocations: 104.3 kB / 385 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2741, allocations: 13.72 kB / 385.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2744, allocations: 25.3 kB / 385.1 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.2745, allocations: 41.2 kB / 385.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2745, allocations: 11.91 kB / 385.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.2746, allocations: 134.9 kB / 385.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2746, allocations: 0 / 385.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.2751, allocations: 154.5 kB / 385.4 MB, free: 9.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.2753, allocations: 136.7 kB / 385.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.2763, allocations: 0.576 MB / 386.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2763, allocations: 0.5625 kB / 386.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.2768, allocations: 389.4 kB / 386.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.2772, allocations: 32.97 kB / 386.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2785, allocations: 1.073 MB / 387.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2787, allocations: 0.8053 MB / 388.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.2789, allocations: 50.3 kB / 388.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.279, allocations: 35.45 kB / 388.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.279, allocations: 0 / 388.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of Templates: time 0.008535/0.2875, allocations: 4.041 MB / 392.5 MB, free: 6.992 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches