Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 68.92 kB / 306.3 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 50.52 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004914/0.1165, allocations: 2.958 MB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1177, allocations: 0.6973 MB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1178, allocations: 11.94 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1181, allocations: 43.62 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1182, allocations: 71.44 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1185, allocations: 87.88 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.119, allocations: 358.9 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.1194, allocations: 152.9 kB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.1197, allocations: 135.4 kB / 361.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1199, allocations: 155.3 kB / 361.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.12, allocations: 24 kB / 361.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.12, allocations: 24 kB / 361.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1201, allocations: 63.75 kB / 361.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1203, allocations: 159.1 kB / 361.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1206, allocations: 370.9 kB / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1206, allocations: 0 / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1206, allocations: 0 / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1207, allocations: 4 kB / 362.1 MB, free: 9 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.001009/0.1217, allocations: 0.6161 MB / 362.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1217, allocations: 16.03 kB / 362.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.1218, allocations: 36.47 kB / 362.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1221, allocations: 259.8 kB / 363 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1222, allocations: 29.03 kB / 363 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.1223, allocations: 32.36 kB / 363.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.1228, allocations: 286.3 kB / 363.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1229, allocations: 0 / 363.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1229, allocations: 16 kB / 363.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1229, allocations: 8 kB / 363.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.1234, allocations: 214.5 kB / 363.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.125, allocations: 1.037 MB / 364.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.1253, allocations: 154.5 kB / 364.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1256, allocations: 132.8 kB / 364.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1256, allocations: 3.938 kB / 364.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1257, allocations: 42.53 kB / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.1257, allocations: 0 / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005643/0.1262, allocations: 217.7 kB / 365.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1263, allocations: 51.41 kB / 365.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1265, allocations: 231 kB / 365.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1265, allocations: 25.7 kB / 365.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1267, allocations: 188 kB / 365.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.1268, allocations: 78.92 kB / 365.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.1268, allocations: 49.98 kB / 365.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.127, allocations: 338.8 kB / 366.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.1272, allocations: 60.53 kB / 366.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1274, allocations: 147.3 kB / 366.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.1278, allocations: 225.3 kB / 366.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.1278, allocations: 0 / 366.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004707/0.1283, allocations: 285 kB / 366.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1283, allocations: 8 kB / 366.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1283, allocations: 4 kB / 366.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1283, allocations: 4 kB / 366.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.1287, allocations: 67.91 kB / 366.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1287, allocations: 11.92 kB / 366.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1288, allocations: 27.75 kB / 366.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1289, allocations: 8 kB / 366.9 MB, free: 3.844 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.0001251/0.129, allocations: 149.8 kB / 367.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1291, allocations: 27.73 kB / 367.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.1295, allocations: 198.3 kB / 367.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1295, allocations: 4 kB / 367.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1295, allocations: 4 kB / 367.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1295, allocations: 0 / 367.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.1303, allocations: 0.6073 MB / 367.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1303, allocations: 0 / 367.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.1306, allocations: 63.89 kB / 368 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1306, allocations: 0 / 368 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1306, allocations: 8 kB / 368 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1306, allocations: 0 / 368 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1306, allocations: 0 / 368 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.1312, allocations: 373.2 kB / 368.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.1313, allocations: 101 kB / 368.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.1314, allocations: 4 kB / 368.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1315, allocations: 15.98 kB / 368.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1316, allocations: 15.98 kB / 368.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1316, allocations: 4 kB / 368.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1318, allocations: 160.6 kB / 368.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 0 / 368.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.1321, allocations: 79.62 kB / 368.7 MB, free: 1.934 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.0001463/0.1323, allocations: 111.2 kB / 368.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.1327, allocations: 175.7 kB / 369 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1327, allocations: 4 kB / 369 MB, free: 1.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.1329, allocations: 79.84 kB / 369.1 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1334, allocations: 33.28 kB / 369.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1347, allocations: 0.9583 MB / 370.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1555/0.2902, allocations: 0.7669 MB / 370.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.2904, allocations: 23.03 kB / 370.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.2905, allocations: 20.14 kB / 370.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2905, allocations: 0 / 370.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of Templates: time 0.005621/0.2961, allocations: 1.908 MB / 372.8 MB, free: 19.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches