Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SeriesResonance",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.0009252/0.0009252, allocations: 92.52 kB / 16.65 MB, free: 6.586 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.001088/0.001088, allocations: 187.1 kB / 17.57 MB, free: 6.199 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.408/1.408, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002759, allocations: 11.98 kB / 301.5 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 50.42 MB / 352 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003139/0.1139, allocations: 2.541 MB / 354.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.115, allocations: 0.6583 MB / 355.2 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1151, allocations: 8 kB / 355.2 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1153, allocations: 43.62 kB / 355.2 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1155, allocations: 79.38 kB / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1157, allocations: 75.92 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.1161, allocations: 354.4 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.1165, allocations: 140.8 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1167, allocations: 119.5 kB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1169, allocations: 131.3 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.1169, allocations: 20 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.117, allocations: 16 kB / 356.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.117, allocations: 51.77 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1172, allocations: 172.9 kB / 356.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.1176, allocations: 358.8 kB / 356.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.1176, allocations: 4 kB / 356.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1176, allocations: 0 / 356.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1176, allocations: 4 kB / 356.7 MB, free: 14.81 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.0009057/0.1185, allocations: 0.5654 MB / 357.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1186, allocations: 8.031 kB / 357.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.697e-05/0.1187, allocations: 66.73 kB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1187, allocations: 36.55 kB / 357.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1191, allocations: 263.6 kB / 357.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.1191, allocations: 25.03 kB / 357.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.1192, allocations: 32.38 kB / 357.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.1198, allocations: 286.1 kB / 358 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1198, allocations: 0 / 358 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.1198, allocations: 19.98 kB / 358 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1198, allocations: 8 kB / 358 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.1203, allocations: 218.5 kB / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1217, allocations: 0.9752 MB / 359.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1221, allocations: 174 kB / 359.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1223, allocations: 89 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1223, allocations: 0 / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1224, allocations: 38.56 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.1224, allocations: 0 / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005747/0.1229, allocations: 231.8 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.123, allocations: 55.41 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1232, allocations: 207 kB / 360 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1232, allocations: 29.7 kB / 360 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1234, allocations: 188 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1234, allocations: 71.08 kB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1235, allocations: 21.7 kB / 360.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1236, allocations: 334.8 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1238, allocations: 67.95 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.124, allocations: 118 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.1244, allocations: 205.8 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1244, allocations: 3.938 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004887/0.1249, allocations: 245.2 kB / 361.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.125, allocations: 11.94 kB / 361.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.125, allocations: 4.125 kB / 361.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.125, allocations: 4 kB / 361.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1253, allocations: 63.89 kB / 361.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1253, allocations: 4 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1255, allocations: 27.78 kB / 361.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.1255, allocations: 12 kB / 361.3 MB, free: 9.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001812/0.1257, allocations: 153.6 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.1258, allocations: 23.75 kB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.1263, allocations: 206.3 kB / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1263, allocations: 0 / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1263, allocations: 0 / 361.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1263, allocations: 4 kB / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1268, allocations: 325.3 kB / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1268, allocations: 0 / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.1271, allocations: 55.97 kB / 362.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1271, allocations: 0 / 362.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1271, allocations: 4 kB / 362.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1271, allocations: 4 kB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.1271, allocations: 0 / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.1279, allocations: 363 kB / 362.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.128, allocations: 104.9 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.128, allocations: 8 kB / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1282, allocations: 15.98 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1283, allocations: 11.98 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1283, allocations: 4 kB / 362.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1285, allocations: 148.6 kB / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1285, allocations: 0 / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1288, allocations: 75.75 kB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.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 (19): * Single equations (assignments): 19 * 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.001097/0.1299, allocations: 0.902 MB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1304, allocations: 179.9 kB / 363.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1304, allocations: 4 kB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1306, allocations: 79.91 kB / 364 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.131, allocations: 27.92 kB / 364 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.1347, allocations: 2.966 MB / 367 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1352, allocations: 0.7674 MB / 367.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.502e-05/0.1353, allocations: 21.95 kB / 367.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1354, allocations: 91.41 kB / 367.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1354, allocations: 3.938 kB / 367.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/0.3656, allocations: 4.079 MB / 371.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.3659, allocations: 198.2 kB / 372.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.39, allocations: 3.969 kB / 372.1 MB, free: 23.86 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches