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.001014/0.001014, allocations: 109.2 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.001076/0.001076, 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.281/1.281, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.36 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09319, allocations: 50.53 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00419/0.09741, allocations: 2.956 MB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.09878, allocations: 0.7011 MB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.09909, allocations: 8 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.09935, allocations: 43.62 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.0996, allocations: 67.45 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.0999, allocations: 87.86 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.1003, allocations: 358.9 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1006, allocations: 136.9 kB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.1009, allocations: 151.4 kB / 361.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1011, allocations: 147.3 kB / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.1012, allocations: 27.94 kB / 361.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.1013, allocations: 24 kB / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.1013, allocations: 71.67 kB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.1015, allocations: 159.2 kB / 361.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1018, allocations: 374.9 kB / 362.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1018, allocations: 0 / 362.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1018, allocations: 0 / 362.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1018, allocations: 0 / 362.2 MB, free: 8.871 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.0009686/0.1028, allocations: 0.6161 MB / 362.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1028, allocations: 12.03 kB / 362.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/0.1029, allocations: 70.72 kB / 362.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.103, allocations: 40.47 kB / 362.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1033, allocations: 259.8 kB / 363.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1033, allocations: 25.03 kB / 363.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.1034, allocations: 32.36 kB / 363.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1039, allocations: 282.2 kB / 363.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.104, allocations: 0 / 363.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.104, allocations: 16 kB / 363.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.104, allocations: 8 kB / 363.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.1045, allocations: 222.4 kB / 363.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.106, allocations: 1.03 MB / 364.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1064, allocations: 162.5 kB / 364.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.1066, allocations: 132.6 kB / 365 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1067, allocations: 4 kB / 365.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1067, allocations: 38.55 kB / 365.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.1067, allocations: 0 / 365.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005459/0.1073, allocations: 221.7 kB / 365.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1073, allocations: 55.41 kB / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1075, allocations: 219 kB / 365.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1075, allocations: 33.7 kB / 365.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1076, allocations: 188 kB / 365.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1077, allocations: 74.94 kB / 365.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.1078, allocations: 45.98 kB / 365.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1079, allocations: 338.8 kB / 366.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1081, allocations: 64.53 kB / 366.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1083, allocations: 147.3 kB / 366.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1087, allocations: 225.2 kB / 366.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1087, allocations: 0 / 366.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005096/0.1092, allocations: 289.1 kB / 366.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1092, allocations: 4 kB / 367 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1092, allocations: 4 kB / 367 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1093, allocations: 7.938 kB / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1095, allocations: 67.91 kB / 367 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1096, allocations: 7.984 kB / 367 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1097, allocations: 27.75 kB / 367.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1098, allocations: 12 kB / 367.1 MB, free: 3.641 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.0001353/0.1099, allocations: 154.8 kB / 367.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.11, allocations: 31.64 kB / 367.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.1104, allocations: 196.3 kB / 367.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1104, allocations: 0 / 367.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1104, allocations: 0 / 367.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1104, allocations: 4 kB / 367.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.1112, allocations: 0.6082 MB / 368.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1112, allocations: 0 / 368.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1115, allocations: 63.89 kB / 368.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1115, allocations: 4 kB / 368.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1115, allocations: 0 / 368.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.1115, allocations: 4 kB / 368.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1115, allocations: 0 / 368.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.1121, allocations: 371.4 kB / 368.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1122, allocations: 101 kB / 368.6 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1122, allocations: 4 kB / 368.6 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1124, allocations: 19.98 kB / 368.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1124, allocations: 19.92 kB / 368.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1125, allocations: 4.047 kB / 368.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1126, allocations: 164.5 kB / 368.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1126, allocations: 0 / 368.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.113, allocations: 75.69 kB / 368.9 MB, free: 1.723 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.0007988/0.1138, allocations: 0.9095 MB / 369.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1142, allocations: 174.6 kB / 370 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1142, allocations: 0 / 370 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1143, allocations: 87.78 kB / 370 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1147, allocations: 41.16 kB / 370.1 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1429/0.2577, allocations: 2.905 MB / 373 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2579, allocations: 0.7693 MB / 373.8 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.258, allocations: 27.75 kB / 373.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2581, allocations: 89.31 kB / 373.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.143e-06/0.2581, allocations: 0.5938 kB / 373.9 MB, free: 17.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.274, allocations: 4.284 MB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.2742, allocations: 216.6 kB / 378.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.958, allocations: 0 / 378.4 MB, free: 17.2 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