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.001047/0.001047, allocations: 183 kB / 17.91 MB, free: 3.855 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.201/1.201, allocations: 205.1 MB / 223.7 MB, free: 8.5 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.0009041/0.0009041, allocations: 95.97 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007371/0.0007371, allocations: 39.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1946, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003762/0.1984, allocations: 3.765 MB / 377.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2, allocations: 1.462 MB / 379.1 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2002, allocations: 9 kB / 379.1 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2015, allocations: 0.7078 MB / 379.8 MB, free: 41.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.2023, allocations: 0.524 MB / 380.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.2029, allocations: 403.6 kB / 380.7 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.2033, allocations: 483.1 kB / 381.2 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.2038, allocations: 416.9 kB / 381.6 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.204, allocations: 216.1 kB / 381.8 MB, free: 39.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2043, allocations: 277.9 kB / 382.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.2043, allocations: 34.84 kB / 382.1 MB, free: 39.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.2046, allocations: 202.9 kB / 382.3 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.2047, allocations: 102.5 kB / 382.4 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2049, allocations: 246.2 kB / 382.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2054, allocations: 0.6988 MB / 383.3 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2054, allocations: 1.375 kB / 383.3 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2054, allocations: 0 / 383.3 MB, free: 38.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2054, allocations: 0 / 383.3 MB, free: 38.8 MB / 298.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.001676/0.2071, allocations: 0.9367 MB / 384.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.2071, allocations: 9.188 kB / 384.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.2108, allocations: 0.5895 MB / 384.9 MB, free: 37.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.211, allocations: 318 kB / 385.2 MB, free: 37.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.2111, allocations: 40.03 kB / 385.2 MB, free: 37.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.2112, allocations: 61.41 kB / 385.3 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.212, allocations: 0.5715 MB / 385.8 MB, free: 37.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.212, allocations: 1.406 kB / 385.8 MB, free: 37.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.212, allocations: 28.48 kB / 385.9 MB, free: 37.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.2121, allocations: 13.28 kB / 385.9 MB, free: 37.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009236/0.213, allocations: 0.6429 MB / 386.5 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.2152, allocations: 2.059 MB / 388.6 MB, free: 34.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2168, allocations: 3 MB / 391.6 MB, free: 30.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2172, allocations: 271.8 kB / 391.9 MB, free: 30.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/0.2172, allocations: 93.53 kB / 391.9 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2173, allocations: 35 kB / 392 MB, free: 30.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.2173, allocations: 0 / 392 MB, free: 30.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001354/0.2186, allocations: 0.7543 MB / 392.7 MB, free: 29.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.2187, allocations: 63.78 kB / 392.8 MB, free: 29.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2188, allocations: 204.9 kB / 393 MB, free: 29.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2188, allocations: 37.7 kB / 393 MB, free: 29.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.2189, allocations: 240.1 kB / 393.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.219, allocations: 161.6 kB / 393.4 MB, free: 29.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2191, allocations: 102.1 kB / 393.5 MB, free: 28.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.2191, allocations: 338.8 kB / 393.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2194, allocations: 161 kB / 394 MB, free: 28.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.2197, allocations: 283.7 kB / 394.3 MB, free: 28.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.2202, allocations: 474.2 kB / 394.8 MB, free: 27.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2202, allocations: 4 kB / 394.8 MB, free: 27.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000845/0.221, allocations: 0.5785 MB / 395.3 MB, free: 27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2211, allocations: 10.03 kB / 395.3 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2211, allocations: 4 kB / 395.3 MB, free: 26.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.2214, allocations: 89.05 kB / 395.4 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.2217, allocations: 107.8 kB / 395.5 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.223, allocations: 1.663 MB / 397.2 MB, free: 25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.2232, allocations: 51.52 kB / 397.3 MB, free: 24.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.2233, allocations: 24 kB / 397.3 MB, free: 24.93 MB / 298.7 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.0001291/0.2234, allocations: 169.8 kB / 397.4 MB, free: 24.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.2234, allocations: 31.61 kB / 397.5 MB, free: 24.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.2243, allocations: 0.5512 MB / 398 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2243, allocations: 11.92 kB / 398 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.2243, allocations: 0 / 398 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2243, allocations: 3.984 kB / 398 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.2256, allocations: 1.17 MB / 399.2 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2256, allocations: 4.062 kB / 399.2 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.2259, allocations: 83.89 kB / 399.3 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.2262, allocations: 80.73 kB / 399.4 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2262, allocations: 15.94 kB / 399.4 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.2272, allocations: 1.644 MB / 401 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2272, allocations: 7.922 kB / 401 MB, free: 20.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.2291, allocations: 1.989 MB / 403 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2292, allocations: 116.6 kB / 403.1 MB, free: 18.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2292, allocations: 20.03 kB / 403.2 MB, free: 18.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.2294, allocations: 15.98 kB / 403.2 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.2295, allocations: 36.39 kB / 403.2 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2296, allocations: 12 kB / 403.2 MB, free: 18.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.2296, allocations: 148.1 kB / 403.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2296, allocations: 4 kB / 403.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000512/0.2302, allocations: 163.5 kB / 403.5 MB, free: 18.28 MB / 298.7 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 (46): * Single equations (assignments): 45 * 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.0001719/0.2303, allocations: 139.2 kB / 403.7 MB, free: 18.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008405/0.2312, allocations: 0.6009 MB / 404.3 MB, free: 17.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2312, allocations: 0 / 404.3 MB, free: 17.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.2317, allocations: 390.1 kB / 404.7 MB, free: 17.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.232, allocations: 31.92 kB / 404.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2333, allocations: 1.362 MB / 406 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2335, allocations: 0.8331 MB / 406.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.2337, allocations: 47.27 kB / 406.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.2338, allocations: 35.42 kB / 407 MB, free: 14.76 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2338, allocations: 4 kB / 407 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.006359/0.2401, allocations: 4.37 MB / 411.3 MB, free: 10.4 MB / 298.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@2/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