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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001268, allocations: 104.6 kB / 16.92 MB, free: 6.145 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.001464/0.001464, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.391/1.391, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 51.98 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1113, allocations: 49.44 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004252/0.1156, allocations: 2.878 MB / 353 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1169, allocations: 0.6855 MB / 353.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.1172, allocations: 4 kB / 353.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.1175, allocations: 59.44 kB / 353.8 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1178, allocations: 87.2 kB / 353.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1181, allocations: 99.8 kB / 354 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1185, allocations: 374.9 kB / 354.3 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.1188, allocations: 176.4 kB / 354.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.119, allocations: 139.6 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1192, allocations: 163.2 kB / 354.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.1193, allocations: 32 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.1194, allocations: 32 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1194, allocations: 75.75 kB / 354.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1196, allocations: 175.2 kB / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.12, allocations: 378.9 kB / 355.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.12, allocations: 0 / 355.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1201, allocations: 4 kB / 355.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.1201, allocations: 0 / 355.5 MB, free: 14.94 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.001323/0.1214, allocations: 0.6199 MB / 356.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1215, allocations: 8.031 kB / 356.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1216, allocations: 70.72 kB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1217, allocations: 36.47 kB / 356.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1222, allocations: 264.3 kB / 356.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1222, allocations: 21.03 kB / 356.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.1223, allocations: 32.38 kB / 356.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.1229, allocations: 294.1 kB / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1229, allocations: 0 / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.123, allocations: 12 kB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.123, allocations: 11.94 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.1235, allocations: 210.5 kB / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1252, allocations: 1.022 MB / 358.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.1255, allocations: 170.5 kB / 358.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.1258, allocations: 128.8 kB / 358.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1259, allocations: 4 kB / 358.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1259, allocations: 38.56 kB / 358.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.1259, allocations: 0 / 358.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006389/0.1266, allocations: 221.6 kB / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1266, allocations: 55.41 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1268, allocations: 215 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1269, allocations: 33.7 kB / 358.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.127, allocations: 200 kB / 359.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.1271, allocations: 70.94 kB / 359.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.1272, allocations: 49.98 kB / 359.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1273, allocations: 330.8 kB / 359.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1275, allocations: 64.52 kB / 359.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1277, allocations: 155.2 kB / 359.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.1281, allocations: 217.2 kB / 360 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1281, allocations: 4 kB / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005192/0.1286, allocations: 281 kB / 360.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1286, allocations: 4 kB / 360.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1287, allocations: 4 kB / 360.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1287, allocations: 4 kB / 360.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.129, allocations: 72.14 kB / 360.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.129, allocations: 8 kB / 360.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1292, allocations: 27.73 kB / 360.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1292, allocations: 15.98 kB / 360.4 MB, free: 9.711 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.0001225/0.1293, allocations: 145.7 kB / 360.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1294, allocations: 19.75 kB / 360.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.1298, allocations: 214.4 kB / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1298, allocations: 0 / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1298, allocations: 0 / 360.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1298, allocations: 3.984 kB / 360.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.1307, allocations: 0.5964 MB / 361.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1307, allocations: 4 kB / 361.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.131, allocations: 63.97 kB / 361.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.131, allocations: 0 / 361.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.131, allocations: 7.984 kB / 361.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.131, allocations: 3.938 kB / 361.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.131, allocations: 4 kB / 361.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.1316, allocations: 378.3 kB / 361.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1317, allocations: 100.8 kB / 361.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.1318, allocations: 8.062 kB / 361.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1319, allocations: 15.98 kB / 361.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.132, allocations: 11.98 kB / 361.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.132, allocations: 8 kB / 362 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1321, allocations: 156.6 kB / 362.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1322, allocations: 0 / 362.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1325, allocations: 79.69 kB / 362.2 MB, free: 7.801 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.0008183/0.1333, allocations: 0.9109 MB / 363.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.1338, allocations: 184.2 kB / 363.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1338, allocations: 0 / 363.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.134, allocations: 84.52 kB / 363.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.1344, allocations: 28.61 kB / 363.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.1377, allocations: 2.814 MB / 366.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.138, allocations: 0.7675 MB / 367 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1381, allocations: 29.88 kB / 367 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1383, allocations: 91.41 kB / 367.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1383, allocations: 0 / 367.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/0.2932, allocations: 4.534 MB / 371.6 MB, free: 25.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.762, allocations: 9.219 kB / 371.6 MB, free: 25.4 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > 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