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.00122/0.00122, allocations: 109.5 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.001207/0.001207, 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.361/1.361, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009862/0.0009863, allocations: 43.92 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1037, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.005082/0.1088, allocations: 2.883 MB / 353.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1102, allocations: 0.6855 MB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.1105, allocations: 4 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1107, allocations: 59.44 kB / 353.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.111, allocations: 79.2 kB / 353.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1113, allocations: 95.81 kB / 354 MB, free: 500 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1118, allocations: 370.5 kB / 354.3 MB, free: 128 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.1121, allocations: 161.3 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1124, allocations: 147.5 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1126, allocations: 159.2 kB / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.1127, allocations: 32 kB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.1127, allocations: 32 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.1128, allocations: 67.77 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.113, allocations: 167.2 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.1134, allocations: 378.9 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1134, allocations: 0 / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1134, allocations: 0 / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1134, allocations: 0 / 355.4 MB, free: 15 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.001058/0.1145, allocations: 0.6082 MB / 356.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1146, allocations: 8.031 kB / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.407e-05/0.1146, allocations: 74.66 kB / 356.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.1147, allocations: 36.47 kB / 356.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1151, allocations: 264.2 kB / 356.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.1151, allocations: 29.03 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.1152, allocations: 32.38 kB / 356.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.1158, allocations: 278.2 kB / 356.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1159, allocations: 0 / 356.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.1159, allocations: 8 kB / 356.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1159, allocations: 15.94 kB / 356.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.1164, allocations: 206.5 kB / 357 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1182, allocations: 0.9868 MB / 358 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.1186, allocations: 154.6 kB / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1188, allocations: 84.75 kB / 358.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1188, allocations: 7.938 kB / 358.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.1189, allocations: 34.56 kB / 358.3 MB, free: 12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.304e-06/0.1189, allocations: 0 / 358.3 MB, free: 12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006335/0.1195, allocations: 205.6 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1196, allocations: 51.41 kB / 358.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1198, allocations: 211 kB / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1198, allocations: 33.7 kB / 358.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.12, allocations: 195.9 kB / 358.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.12, allocations: 59.11 kB / 359 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.1201, allocations: 49.61 kB / 359 MB, free: 11.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1203, allocations: 330.8 kB / 359.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1205, allocations: 63.95 kB / 359.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1207, allocations: 118 kB / 359.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.121, allocations: 181.8 kB / 359.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1211, allocations: 7.938 kB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004813/0.1216, allocations: 241.2 kB / 360 MB, free: 10.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1216, allocations: 8 kB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1216, allocations: 128 / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1216, allocations: 8 kB / 360 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1219, allocations: 63.91 kB / 360 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1219, allocations: 0 / 360 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1221, allocations: 35.67 kB / 360.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1221, allocations: 4 kB / 360.1 MB, free: 10.07 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.0001323/0.1223, allocations: 141.7 kB / 360.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.1223, allocations: 19.81 kB / 360.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.1227, allocations: 191.4 kB / 360.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1228, allocations: 4 kB / 360.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1228, allocations: 0 / 360.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1228, allocations: 3.938 kB / 360.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1232, allocations: 321.3 kB / 360.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1232, allocations: 0 / 360.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.1235, allocations: 51.97 kB / 360.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.1235, allocations: 4 kB / 360.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1235, allocations: 4 kB / 360.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1235, allocations: 0 / 360.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1235, allocations: 3.984 kB / 360.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.1242, allocations: 353.9 kB / 361.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.1242, allocations: 96.86 kB / 361.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.1243, allocations: 4.188 kB / 361.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1245, allocations: 23.98 kB / 361.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1245, allocations: 11.98 kB / 361.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1246, allocations: 8 kB / 361.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1247, allocations: 152.5 kB / 361.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1247, allocations: 0 / 361.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.1251, allocations: 75.75 kB / 361.5 MB, free: 8.535 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.001152/0.1263, allocations: 0.8876 MB / 362.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.1268, allocations: 172 kB / 362.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1268, allocations: 4 kB / 362.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.127, allocations: 71.91 kB / 362.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1275, allocations: 31.08 kB / 362.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.1315, allocations: 2.692 MB / 365.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.132, allocations: 0.771 MB / 366.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1321, allocations: 17.95 kB / 366.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1322, allocations: 99.39 kB / 366.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1323, allocations: 0 / 366.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2067/0.3389, allocations: 4.409 MB / 370.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.783, allocations: 8.422 kB / 370.7 MB, free: 25.04 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