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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 107.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.1 kB / 19.34 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 47.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07262/0.0739, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004694/0.07862, allocations: 3.753 MB / 379.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1511/0.2297, allocations: 1.461 MB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.2299, allocations: 8.25 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.2314, allocations: 0.7503 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.2325, allocations: 0.5603 MB / 382.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2332, allocations: 435.2 kB / 382.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.2337, allocations: 493.2 kB / 383.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006818/0.2344, allocations: 469.6 kB / 383.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2347, allocations: 228.7 kB / 383.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.235, allocations: 286.5 kB / 384.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.235, allocations: 45.69 kB / 384.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.2354, allocations: 218 kB / 384.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.2355, allocations: 118.3 kB / 384.6 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2357, allocations: 247.6 kB / 384.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.2363, allocations: 0.7112 MB / 385.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2363, allocations: 0 / 385.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2363, allocations: 5.031 kB / 385.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2363, allocations: 0 / 385.5 MB, free: 8.84 MB / 318.1 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.00187/0.2382, allocations: 0.9491 MB / 386.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2383, allocations: 14.45 kB / 386.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.2426, allocations: 0.5843 MB / 387.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.243, allocations: 308.9 kB / 387.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.243, allocations: 44.12 kB / 387.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.06e-05/0.2431, allocations: 60.41 kB / 387.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2441, allocations: 0.5713 MB / 388.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2442, allocations: 7.938 kB / 388.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.2442, allocations: 21.56 kB / 388.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2443, allocations: 13.69 kB / 388.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2453, allocations: 0.6443 MB / 388.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.2481, allocations: 2.039 MB / 390.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.25, allocations: 3.011 MB / 393.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.2504, allocations: 276.6 kB / 394.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.2505, allocations: 94.67 kB / 394.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2505, allocations: 40.31 kB / 394.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.2505, allocations: 1.406 kB / 394.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001611/0.2521, allocations: 0.7476 MB / 395 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.2522, allocations: 60.66 kB / 395 MB, free: 2.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2524, allocations: 210.6 kB / 395.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2524, allocations: 30.95 kB / 395.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.2525, allocations: 239.9 kB / 395.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.2526, allocations: 165.6 kB / 395.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.2527, allocations: 94.38 kB / 395.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2528, allocations: 333.5 kB / 396.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2531, allocations: 166.3 kB / 396.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2534, allocations: 287.1 kB / 396.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.254, allocations: 483.3 kB / 397 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2541, allocations: 0 / 397 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001021/0.2551, allocations: 0.589 MB / 397.6 MB, free: 488 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2551, allocations: 7.547 kB / 397.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2551, allocations: 3.312 kB / 397.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.2555, allocations: 82.55 kB / 397.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.2559, allocations: 116 kB / 397.8 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.2575, allocations: 1.772 MB / 399.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.2578, allocations: 51.05 kB / 399.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.2579, allocations: 26.61 kB / 399.6 MB, free: 14.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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.0001873/0.2581, allocations: 171.8 kB / 399.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.2582, allocations: 37.31 kB / 399.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2593, allocations: 0.55 MB / 400.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2593, allocations: 3.766 kB / 400.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2593, allocations: 0 / 400.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.2594, allocations: 111.4 kB / 400.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.2594, allocations: 11.03 kB / 400.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2597, allocations: 19.3 kB / 400.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.2598, allocations: 38.2 kB / 400.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001103/0.2609, allocations: 0.5438 MB / 401.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.262, allocations: 0.7493 MB / 401.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002967/0.2623, allocations: 172.7 kB / 402 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.2624, allocations: 146.8 kB / 402.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.2624, allocations: 0 / 402.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2637, allocations: 0.6093 MB / 402.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.001257/0.265, allocations: 1.206 MB / 404 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.01065/0.2757, allocations: 6.248 MB / 410.2 MB, free: 9.754 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches