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.001642/0.001642, allocations: 114.3 kB / 18.45 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 210.8 kB / 19.41 MB, free: 3.738 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.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.213, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004504/0.2175, allocations: 3.697 MB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2198, allocations: 1.487 MB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.2201, allocations: 12 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.222, allocations: 0.7467 MB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.2229, allocations: 393.4 kB / 416.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2239, allocations: 0.5521 MB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.2245, allocations: 466 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.2252, allocations: 469.6 kB / 417.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.2256, allocations: 215.2 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.226, allocations: 274.9 kB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.2261, allocations: 44 kB / 418.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.2265, allocations: 223.8 kB / 418.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.2266, allocations: 107.6 kB / 418.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.2268, allocations: 238.8 kB / 418.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.2276, allocations: 0.7043 MB / 419.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2276, allocations: 0 / 419.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2276, allocations: 0 / 419.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.2277, allocations: 0 / 419.5 MB, free: 7.992 MB / 334.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.00211/0.2298, allocations: 0.9239 MB / 420.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2298, allocations: 12.02 kB / 420.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.2335, allocations: 0.4884 MB / 420.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.2339, allocations: 311.5 kB / 421.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.234, allocations: 41.69 kB / 421.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.2341, allocations: 56.38 kB / 421.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.235, allocations: 0.5259 MB / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.235, allocations: 0 / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.2351, allocations: 23.98 kB / 421.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2351, allocations: 16 kB / 421.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2362, allocations: 0.5751 MB / 422.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.2391, allocations: 1.951 MB / 424.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2411, allocations: 2.174 MB / 426.6 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.2415, allocations: 264.7 kB / 426.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.2417, allocations: 182.6 kB / 427 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2417, allocations: 35 kB / 427.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.2417, allocations: 4 kB / 427.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001723/0.2435, allocations: 0.735 MB / 427.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2435, allocations: 63.77 kB / 427.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2437, allocations: 182.4 kB / 428 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.2437, allocations: 29.7 kB / 428.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2439, allocations: 232.9 kB / 428.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.244, allocations: 170.5 kB / 428.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2441, allocations: 82.23 kB / 428.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2442, allocations: 346.8 kB / 428.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2445, allocations: 149.1 kB / 429 MB, free: 13.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2449, allocations: 234.6 kB / 429.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.2456, allocations: 416.9 kB / 429.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2456, allocations: 3.938 kB / 429.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001016/0.2466, allocations: 0.5396 MB / 430.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2466, allocations: 8 kB / 430.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2466, allocations: 8 kB / 430.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.247, allocations: 80.8 kB / 430.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.2474, allocations: 91.89 kB / 430.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.2491, allocations: 1.779 MB / 432.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.2494, allocations: 47.61 kB / 432.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2494, allocations: 20 kB / 432.2 MB, free: 10.32 MB / 350.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.000169/0.2496, allocations: 169.8 kB / 432.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.2497, allocations: 31.81 kB / 432.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2508, allocations: 0.5318 MB / 433 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2508, allocations: 3.938 kB / 433 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2508, allocations: 4 kB / 433 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.2509, allocations: 116.8 kB / 433.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.2509, allocations: 7.938 kB / 433.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2511, allocations: 23.98 kB / 433.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.2512, allocations: 32.39 kB / 433.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001081/0.2523, allocations: 0.5356 MB / 433.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001029/0.2534, allocations: 0.7325 MB / 434.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002909/0.2537, allocations: 163.4 kB / 434.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.2538, allocations: 131.2 kB / 434.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Backend: time 3.71e-07/0.2538, allocations: 0 / 434.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.255, allocations: 0.5856 MB / 435.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 0.001202/0.2562, allocations: 1.204 MB / 436.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01072/0.267, allocations: 6.233 MB / 442.7 MB, free: 15.7 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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