Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.3 kB / 17.68 MB, free: 5.473 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.00175/0.00175, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 50.52 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.118, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004039/0.1221, allocations: 2.882 MB / 354.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.1231, allocations: 0.6816 MB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1232, allocations: 4 kB / 355.1 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1234, allocations: 63.38 kB / 355.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1236, allocations: 87.3 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1239, allocations: 91.88 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.1243, allocations: 386.7 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.1246, allocations: 172.4 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1248, allocations: 147.5 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.125, allocations: 159.3 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.1251, allocations: 32 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.1251, allocations: 40 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.1252, allocations: 71.77 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1254, allocations: 171.2 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1257, allocations: 394.5 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1257, allocations: 0 / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1257, allocations: 0 / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1258, allocations: 0 / 356.8 MB, free: 14.32 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000923/0.1267, allocations: 0.6199 MB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1267, allocations: 8.031 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.1268, allocations: 40.47 kB / 357.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1271, allocations: 256.3 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1272, allocations: 29.03 kB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.1272, allocations: 32.38 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.1277, allocations: 286.4 kB / 358.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1278, allocations: 0 / 358.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1278, allocations: 16 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1278, allocations: 8 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.1283, allocations: 210.5 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1298, allocations: 1.018 MB / 359.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.1301, allocations: 166.5 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1304, allocations: 124.8 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1304, allocations: 7.938 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1304, allocations: 38.56 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.1305, allocations: 0 / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000544/0.131, allocations: 217.7 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1311, allocations: 51.41 kB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1313, allocations: 223 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1313, allocations: 37.64 kB / 360.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1314, allocations: 196 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.1315, allocations: 78.88 kB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.1316, allocations: 49.98 kB / 360.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1317, allocations: 330.8 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1319, allocations: 64.53 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1321, allocations: 147.4 kB / 361 MB, free: 9.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1324, allocations: 213.3 kB / 361.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1324, allocations: 0 / 361.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004858/0.1329, allocations: 280.9 kB / 361.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.133, allocations: 11.98 kB / 361.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.133, allocations: 4 kB / 361.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.133, allocations: 4 kB / 361.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1333, allocations: 72.16 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1333, allocations: 7.938 kB / 361.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1335, allocations: 31.73 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1335, allocations: 8 kB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1336, allocations: 149.7 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1337, allocations: 23.75 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1341, allocations: 206.4 kB / 362 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1341, allocations: 7.984 kB / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1341, allocations: 0 / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1341, allocations: 0 / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.1349, allocations: 0.6041 MB / 362.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1349, allocations: 0 / 362.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.1352, allocations: 64.02 kB / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1352, allocations: 0 / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1352, allocations: 12 kB / 362.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1352, allocations: 0 / 362.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1352, allocations: 0 / 362.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.1358, allocations: 377.1 kB / 363.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.1359, allocations: 101 kB / 363.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1359, allocations: 0 / 363.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1361, allocations: 19.98 kB / 363.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.1361, allocations: 11.98 kB / 363.2 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1362, allocations: 4 kB / 363.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1363, allocations: 160.7 kB / 363.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1363, allocations: 4 kB / 363.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1366, allocations: 75.62 kB / 363.4 MB, free: 7.277 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.1367, allocations: 107.2 kB / 363.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.1371, allocations: 172.2 kB / 363.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1372, allocations: 4.062 kB / 363.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1373, allocations: 83.83 kB / 363.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1377, allocations: 32.59 kB / 363.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.139, allocations: 0.8362 MB / 364.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1393, allocations: 0.7713 MB / 365.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.237e-05/0.1394, allocations: 21.95 kB / 365.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.1394, allocations: 23.38 kB / 365.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1395, allocations: 3.938 kB / 365.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of Templates: time 0.005148/0.1446, allocations: 2.037 MB / 367.5 MB, free: 3.141 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches