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.00246/0.002459, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.127/3.127, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001725/0.001724, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006615, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1591, allocations: 47.57 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.008964/0.1682, allocations: 3.019 MB / 377.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.174, allocations: 1.353 MB / 378.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.1747, allocations: 16 kB / 378.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.1757, allocations: 127.3 kB / 379.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.1792, allocations: 494.6 kB / 379.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.1816, allocations: 343 kB / 379.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.1831, allocations: 343 kB / 380.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003235/0.1864, allocations: 0.688 MB / 380.9 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.1872, allocations: 183.3 kB / 381.1 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.1879, allocations: 231.1 kB / 381.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.188, allocations: 28 kB / 381.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1892, allocations: 151.8 kB / 381.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.1894, allocations: 87.64 kB / 381.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.1897, allocations: 105.5 kB / 381.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.1914, allocations: 0.5223 MB / 382.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1914, allocations: 0 / 382.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.655e-06/0.1915, allocations: 0 / 382.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1915, allocations: 3.938 kB / 382.2 MB, free: 7.715 MB / 282.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.005131/0.1967, allocations: 0.8389 MB / 383 MB, free: 6.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.1968, allocations: 15.97 kB / 383 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.2086, allocations: 0.5964 MB / 383.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2098, allocations: 314.4 kB / 383.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.2099, allocations: 41.31 kB / 384 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.2101, allocations: 59.91 kB / 384 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.213, allocations: 0.5648 MB / 384.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.2131, allocations: 3.938 kB / 384.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.2132, allocations: 28 kB / 384.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.2133, allocations: 16 kB / 384.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.2166, allocations: 0.6415 MB / 385.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00881/0.2255, allocations: 2.059 MB / 387.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4468/0.6723, allocations: 2.993 MB / 390.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.6727, allocations: 88.77 kB / 390.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.6728, allocations: 37.19 kB / 390.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 5.34e-06/0.6728, allocations: 0 / 390.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.005335/0.6781, allocations: 0.7751 MB / 391.2 MB, free: 17.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.6783, allocations: 59.06 kB / 391.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.6788, allocations: 205.7 kB / 391.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.679, allocations: 34.58 kB / 391.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6793, allocations: 301.9 kB / 391.8 MB, free: 16.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.6796, allocations: 171.3 kB / 392 MB, free: 16.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.6797, allocations: 11.06 kB / 392 MB, free: 16.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6799, allocations: 332.2 kB / 392.3 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.6811, allocations: 174.1 kB / 392.5 MB, free: 16.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.6823, allocations: 279 kB / 392.8 MB, free: 16.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6836, allocations: 207 kB / 393 MB, free: 16.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.6837, allocations: 5.328 kB / 393 MB, free: 16.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003266/0.687, allocations: 0.5944 MB / 393.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.6871, allocations: 9.984 kB / 393.6 MB, free: 16.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.6872, allocations: 4.156 kB / 393.6 MB, free: 16.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008995/0.6881, allocations: 83.83 kB / 393.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.6897, allocations: 113.9 kB / 393.8 MB, free: 16.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.6939, allocations: 1.666 MB / 395.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/0.6949, allocations: 60.45 kB / 395.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.6951, allocations: 23.8 kB / 395.5 MB, free: 14.58 MB / 282.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.0005246/0.6956, allocations: 172.5 kB / 395.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.6958, allocations: 31.92 kB / 395.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.699, allocations: 0.5752 MB / 396.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.6991, allocations: 9.484 kB / 396.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.6992, allocations: 1.094 kB / 396.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.6992, allocations: 2.719 kB / 396.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.7043, allocations: 1.184 MB / 397.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.7044, allocations: 0 / 397.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.7057, allocations: 90.94 kB / 397.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007969/0.7065, allocations: 76.2 kB / 397.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7067, allocations: 11.58 kB / 397.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.7104, allocations: 1.655 MB / 399.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7105, allocations: 1.031 kB / 399.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/0.7145, allocations: 0.8335 MB / 400.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.7148, allocations: 119.2 kB / 400.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7149, allocations: 15.14 kB / 400.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.7157, allocations: 17.89 kB / 400.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.7159, allocations: 35.05 kB / 400.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.716, allocations: 15.34 kB / 400.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003179/0.7164, allocations: 152.9 kB / 400.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.7164, allocations: 0 / 400.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001604/0.718, allocations: 156.8 kB / 400.7 MB, free: 11.23 MB / 282.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.0004939/0.7186, allocations: 137.6 kB / 400.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.7219, allocations: 0.6129 MB / 401.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.7219, allocations: 0 / 401.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.7238, allocations: 391.2 kB / 401.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/0.7246, allocations: 28.86 kB / 401.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.7286, allocations: 1.088 MB / 402.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.7293, allocations: 0.826 MB / 403.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.7298, allocations: 35.98 kB / 403.8 MB, free: 9.199 MB / 282.7 MB Notification: Performance of SimCode: time 3.738e-06/0.7298, allocations: 0 / 403.8 MB, free: 9.199 MB / 282.7 MB Notification: Performance of Templates: time 0.02788/0.7577, allocations: 6.482 MB / 410.3 MB, free: 7.289 MB / 282.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