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.001622/0.001622, allocations: 101.3 kB / 16.5 MB, free: 6.645 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.001413/0.001414, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 47.89 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 49.45 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004843/0.1258, allocations: 2.927 MB / 352.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1273, allocations: 0.67 MB / 353.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.1276, allocations: 4 kB / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1279, allocations: 51.61 kB / 353.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1283, allocations: 75.38 kB / 353.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1287, allocations: 75.94 kB / 353.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1292, allocations: 370.8 kB / 353.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.1296, allocations: 140.9 kB / 353.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.1299, allocations: 131.6 kB / 353.9 MB, free: 300 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1301, allocations: 159.2 kB / 354.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.1302, allocations: 24 kB / 354.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.1302, allocations: 24 kB / 354.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1303, allocations: 59.77 kB / 354.2 MB, free: 32 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1305, allocations: 159.3 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.1309, allocations: 374.8 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1309, allocations: 0 / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1309, allocations: 0 / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1309, allocations: 0 / 354.7 MB, free: 15.51 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.001208/0.1321, allocations: 0.6262 MB / 355.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1322, allocations: 8.031 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1323, allocations: 74.66 kB / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.1324, allocations: 36.47 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1328, allocations: 255.8 kB / 355.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1328, allocations: 29.03 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.1329, allocations: 32.38 kB / 355.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1335, allocations: 290.1 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1336, allocations: 0 / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.1336, allocations: 12 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1336, allocations: 7.984 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.1341, allocations: 210.5 kB / 356.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.136, allocations: 1.03 MB / 357.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1363, allocations: 162.5 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1367, allocations: 136.7 kB / 357.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1367, allocations: 3.984 kB / 357.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1367, allocations: 38.56 kB / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.1368, allocations: 0 / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007137/0.1375, allocations: 221.6 kB / 357.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.1376, allocations: 51.41 kB / 357.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.1379, allocations: 223 kB / 358.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.138, allocations: 25.7 kB / 358.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1382, allocations: 196 kB / 358.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.1383, allocations: 74.94 kB / 358.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.1384, allocations: 49.98 kB / 358.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1387, allocations: 334.8 kB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.139, allocations: 68.52 kB / 358.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.1393, allocations: 147.2 kB / 359 MB, free: 10.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.14, allocations: 225.2 kB / 359.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.14, allocations: 0 / 359.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008107/0.1408, allocations: 273 kB / 359.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1408, allocations: 8 kB / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1409, allocations: 4 kB / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1409, allocations: 4 kB / 359.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.1414, allocations: 71.89 kB / 359.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.1414, allocations: 8.234 kB / 359.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1417, allocations: 35.73 kB / 359.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.1417, allocations: 8 kB / 359.6 MB, free: 10.27 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.0002132/0.142, allocations: 145.7 kB / 359.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.1421, allocations: 23.75 kB / 359.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.1427, allocations: 203.2 kB / 360 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1427, allocations: 8 kB / 360 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1428, allocations: 0 / 360 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.1428, allocations: 3.984 kB / 360 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.1441, allocations: 0.6046 MB / 360.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1442, allocations: 0 / 360.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.1446, allocations: 55.91 kB / 360.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1446, allocations: 4.062 kB / 360.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1447, allocations: 8 kB / 360.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.1447, allocations: 3.984 kB / 360.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1447, allocations: 0 / 360.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.1457, allocations: 381.1 kB / 361 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1458, allocations: 88.92 kB / 361.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.1459, allocations: 19.92 kB / 361.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.1462, allocations: 8 kB / 361.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.1463, allocations: 19.97 kB / 361.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1463, allocations: 4 kB / 361.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.1465, allocations: 156.6 kB / 361.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1466, allocations: 4 kB / 361.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000674/0.1472, allocations: 79.69 kB / 361.4 MB, free: 8.359 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.001349/0.1486, allocations: 0.907 MB / 362.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.1493, allocations: 179.8 kB / 362.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.1493, allocations: 0 / 362.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.1495, allocations: 80.47 kB / 362.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.1503, allocations: 39.22 kB / 362.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/0.1563, allocations: 2.929 MB / 365.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.1569, allocations: 0.7675 MB / 366.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000188/0.1571, allocations: 21.95 kB / 366.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.1573, allocations: 91.41 kB / 366.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of SimCode: time 3.697e-06/0.1573, allocations: 0 / 366.4 MB, free: 3.145 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.3944, allocations: 4.288 MB / 370.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.3946, allocations: 207.8 kB / 370.9 MB, free: 24.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.583, allocations: 0 / 370.9 MB, free: 24.87 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