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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.98 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09919, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004207/0.1034, allocations: 2.905 MB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1049, allocations: 0.7128 MB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.1052, allocations: 7.938 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1055, allocations: 63.42 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1059, allocations: 83.19 kB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1063, allocations: 95.83 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.1069, allocations: 370.9 kB / 361.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.1072, allocations: 180.4 kB / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.1076, allocations: 151.5 kB / 362.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1079, allocations: 163.2 kB / 362.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.1079, allocations: 36 kB / 362.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.108, allocations: 32 kB / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.1081, allocations: 71.77 kB / 362.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1083, allocations: 171.1 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.1087, allocations: 386.9 kB / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1088, allocations: 0 / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1088, allocations: 0 / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.1088, allocations: 0 / 363 MB, free: 8.574 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.001376/0.1102, allocations: 0.6199 MB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1102, allocations: 8.031 kB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.1104, allocations: 70.72 kB / 363.7 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1105, allocations: 36.47 kB / 363.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.111, allocations: 259.8 kB / 364 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.111, allocations: 25.03 kB / 364 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.1111, allocations: 28.38 kB / 364 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.1118, allocations: 282.2 kB / 364.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1118, allocations: 4 kB / 364.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.1118, allocations: 19.94 kB / 364.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1118, allocations: 11.94 kB / 364.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.1124, allocations: 210.5 kB / 364.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1143, allocations: 1.03 MB / 365.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.1147, allocations: 158.5 kB / 365.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.115, allocations: 136.7 kB / 365.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.115, allocations: 0 / 365.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.115, allocations: 38.56 kB / 365.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.115, allocations: 0 / 365.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005757/0.1156, allocations: 224 kB / 366.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1157, allocations: 51.41 kB / 366.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1159, allocations: 227 kB / 366.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1159, allocations: 25.7 kB / 366.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.116, allocations: 196 kB / 366.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.1161, allocations: 78.94 kB / 366.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1162, allocations: 45.98 kB / 366.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1163, allocations: 334.8 kB / 367 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1165, allocations: 64.52 kB / 367.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1168, allocations: 147.4 kB / 367.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.1172, allocations: 229.1 kB / 367.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1172, allocations: 0 / 367.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005171/0.1177, allocations: 277 kB / 367.7 MB, free: 3.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1178, allocations: 6.812 kB / 367.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1178, allocations: 4 kB / 367.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.1178, allocations: 4 kB / 367.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1181, allocations: 71.89 kB / 367.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1181, allocations: 4.25 kB / 367.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1183, allocations: 35.73 kB / 367.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1183, allocations: 8 kB / 367.9 MB, free: 3.355 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.0001647/0.1185, allocations: 150.8 kB / 368 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.1186, allocations: 31.59 kB / 368 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.119, allocations: 198.7 kB / 368.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.119, allocations: 4 kB / 368.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.119, allocations: 4 kB / 368.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.119, allocations: 0 / 368.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.1199, allocations: 0.6013 MB / 368.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1199, allocations: 0 / 368.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.1202, allocations: 63.91 kB / 368.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1202, allocations: 4.062 kB / 368.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.1202, allocations: 11.94 kB / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1202, allocations: 0 / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1202, allocations: 0 / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.1209, allocations: 373.2 kB / 369.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.1209, allocations: 96.98 kB / 369.4 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.121, allocations: 4 kB / 369.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1212, allocations: 15.98 kB / 369.4 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.1212, allocations: 19.91 kB / 369.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1213, allocations: 8 kB / 369.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1214, allocations: 156.6 kB / 369.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1214, allocations: 4 kB / 369.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1218, allocations: 75.69 kB / 369.7 MB, free: 1.438 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.0009437/0.1227, allocations: 0.9042 MB / 370.6 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.1232, allocations: 183.8 kB / 370.7 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1232, allocations: 0 / 370.7 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1234, allocations: 80.42 kB / 370.8 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1238, allocations: 40.64 kB / 370.9 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1646/0.2884, allocations: 2.816 MB / 373.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2886, allocations: 0.7664 MB / 374.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.2887, allocations: 22.58 kB / 374.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2888, allocations: 91.86 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2888, allocations: 0 / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3136, allocations: 4.539 MB / 379.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.492/9.805, allocations: 9.203 kB / 379.1 MB, free: 17.25 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches