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.001261/0.001261, allocations: 114.7 kB / 16.51 MB, free: 6.66 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.001475/0.001475, allocations: 198.4 kB / 17.43 MB, free: 6.035 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 56.05 kB / 300 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.0962, allocations: 49.44 MB / 349.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003799/0.1, allocations: 2.923 MB / 352.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.101, allocations: 0.6739 MB / 353 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1012, allocations: 4 kB / 353 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.1014, allocations: 47.62 kB / 353 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1015, allocations: 75.38 kB / 353.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1018, allocations: 75.94 kB / 353.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.1021, allocations: 366.9 kB / 353.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1024, allocations: 152.8 kB / 353.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1026, allocations: 131.6 kB / 353.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1028, allocations: 159.2 kB / 354 MB, free: 272 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1028, allocations: 20 kB / 354 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.908e-05/0.1029, allocations: 24 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.1029, allocations: 63.77 kB / 354.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1031, allocations: 155.2 kB / 354.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1034, allocations: 370.9 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1035, allocations: 4 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1035, allocations: 0 / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1035, allocations: 0 / 354.6 MB, free: 15.64 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.0009978/0.1045, allocations: 0.6161 MB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1045, allocations: 8.031 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.1046, allocations: 48.39 kB / 355.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1049, allocations: 259.8 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1049, allocations: 21.03 kB / 355.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.105, allocations: 36.38 kB / 355.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.1056, allocations: 286.3 kB / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1056, allocations: 4 kB / 355.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.1056, allocations: 8 kB / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1056, allocations: 8 kB / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.1061, allocations: 218.4 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1077, allocations: 1.03 MB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1081, allocations: 162.5 kB / 357.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1083, allocations: 128.8 kB / 357.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1084, allocations: 7.938 kB / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1084, allocations: 34.56 kB / 357.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.1084, allocations: 0 / 357.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005493/0.109, allocations: 225.6 kB / 357.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.109, allocations: 51.41 kB / 357.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1092, allocations: 223 kB / 357.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1093, allocations: 25.7 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.1095, allocations: 192 kB / 358.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1096, allocations: 78.94 kB / 358.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.1097, allocations: 49.98 kB / 358.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1099, allocations: 334.8 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.11, allocations: 68.52 kB / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1102, allocations: 143.3 kB / 358.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1106, allocations: 233.1 kB / 359 MB, free: 10.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1106, allocations: 0 / 359 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004713/0.1111, allocations: 269 kB / 359.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1111, allocations: 11.94 kB / 359.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1111, allocations: 0 / 359.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1112, allocations: 8 kB / 359.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1115, allocations: 75.89 kB / 359.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1115, allocations: 4 kB / 359.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1117, allocations: 35.98 kB / 359.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1117, allocations: 8 kB / 359.4 MB, free: 10.48 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.0001372/0.1118, allocations: 149.7 kB / 359.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.1119, allocations: 23.75 kB / 359.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.1123, allocations: 199.3 kB / 359.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1123, allocations: 4 kB / 359.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1123, allocations: 4 kB / 359.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1123, allocations: 0 / 359.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.1132, allocations: 0.6039 MB / 360.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1133, allocations: 4 kB / 360.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1135, allocations: 51.91 kB / 360.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1136, allocations: 7.938 kB / 360.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.1136, allocations: 8.062 kB / 360.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1136, allocations: 4 kB / 360.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1136, allocations: 0 / 360.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.1143, allocations: 381.2 kB / 360.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.1144, allocations: 88.92 kB / 361 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1144, allocations: 8.062 kB / 361 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1146, allocations: 15.92 kB / 361 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.1147, allocations: 23.91 kB / 361 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1147, allocations: 4 kB / 361 MB, free: 8.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1149, allocations: 152.7 kB / 361.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1149, allocations: 0 / 361.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.1153, allocations: 87.62 kB / 361.2 MB, free: 8.566 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.0001914/0.1155, allocations: 103.2 kB / 361.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.116, allocations: 177.4 kB / 361.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.116, allocations: 4.5 kB / 361.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1162, allocations: 83.89 kB / 361.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.1167, allocations: 24.67 kB / 361.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1184, allocations: 0.9642 MB / 362.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.1188, allocations: 0.7716 MB / 363.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1189, allocations: 25.92 kB / 363.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.119, allocations: 19.44 kB / 363.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.119, allocations: 4 kB / 363.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Templates: time 0.005123/0.1241, allocations: 1.895 MB / 365.3 MB, free: 4.457 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 -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/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_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches