Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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.001089/0.001089, allocations: 112.2 kB / 17.28 MB, free: 6.199 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.001047/0.001047, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 48.14 kB / 280.2 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09199, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006109/0.09813, allocations: 5.331 MB / 332.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1006, allocations: 1.454 MB / 333.7 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.101, allocations: 35.75 kB / 333.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.1015, allocations: 158.6 kB / 333.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.1019, allocations: 158.6 kB / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.1026, allocations: 339.6 kB / 334.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009064/0.1035, allocations: 1.119 MB / 335.5 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005933/0.1041, allocations: 484.2 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.1045, allocations: 406.2 kB / 336.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1049, allocations: 429.6 kB / 336.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.105, allocations: 84 kB / 336.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1051, allocations: 99.98 kB / 336.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1053, allocations: 215.1 kB / 337.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.1056, allocations: 0.4932 MB / 337.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.1065, allocations: 1.113 MB / 338.7 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1065, allocations: 4 kB / 338.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1065, allocations: 0 / 338.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1066, allocations: 0 / 338.7 MB, free: 8.746 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001678/0.1082, allocations: 1.317 MB / 340.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1083, allocations: 11.97 kB / 340.1 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1084, allocations: 156.2 kB / 340.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1086, allocations: 122.5 kB / 340.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.1094, allocations: 0.6146 MB / 341 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.1094, allocations: 73.94 kB / 341 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1096, allocations: 100 kB / 341.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1111, allocations: 1.031 MB / 342.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.1112, allocations: 7.938 kB / 342.2 MB, free: 5.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.1112, allocations: 48 kB / 342.2 MB, free: 5.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1113, allocations: 24 kB / 342.2 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1123, allocations: 0.5578 MB / 342.8 MB, free: 4.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.117, allocations: 5.512 MB / 348.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.1176, allocations: 240.9 kB / 348.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.1179, allocations: 153.7 kB / 348.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.1182, allocations: 85.09 kB / 348.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1182, allocations: 54.47 kB / 348.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.1182, allocations: 0 / 348.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003775/0.122, allocations: 1.704 MB / 350.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1221, allocations: 89.05 kB / 350.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/0.1227, allocations: 0.6333 MB / 351.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1228, allocations: 33.7 kB / 351.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.1231, allocations: 0.5948 MB / 351.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1232, allocations: 149.9 kB / 352 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1234, allocations: 138.5 kB / 352.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1236, allocations: 386.7 kB / 352.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.1239, allocations: 157.9 kB / 352.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.1244, allocations: 497.1 kB / 353.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.1252, allocations: 0.6921 MB / 353.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1252, allocations: 0 / 353.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001109/0.1263, allocations: 0.7155 MB / 354.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1264, allocations: 12 kB / 354.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.1264, allocations: 15.98 kB / 354.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.1264, allocations: 16 kB / 354.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.1271, allocations: 199.6 kB / 354.8 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.1271, allocations: 23.92 kB / 354.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.1274, allocations: 36.14 kB / 354.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.1275, allocations: 44 kB / 354.9 MB, free: 7.496 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.000314/0.1278, allocations: 229.5 kB / 355.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.128, allocations: 71.06 kB / 355.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.1281, allocations: 78.53 kB / 355.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1281, allocations: 7.938 kB / 355.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1281, allocations: 3.938 kB / 355.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1281, allocations: 0 / 355.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.1302, allocations: 1.318 MB / 356.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1302, allocations: 0 / 356.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.1307, allocations: 103.9 kB / 356.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1307, allocations: 4 kB / 356.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.1307, allocations: 16.08 kB / 356.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1307, allocations: 11.94 kB / 356.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1307, allocations: 4 kB / 356.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.1317, allocations: 0.7002 MB / 357.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1318, allocations: 136.2 kB / 357.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/0.1319, allocations: 20.06 kB / 357.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.1322, allocations: 19.98 kB / 357.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.1323, allocations: 31.95 kB / 357.7 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1323, allocations: 23.92 kB / 357.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.1328, allocations: 415 kB / 358.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1328, allocations: 4 kB / 358.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00067/0.1335, allocations: 136 kB / 358.2 MB, free: 4.055 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.001296/0.1348, allocations: 1.258 MB / 359.5 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.1356, allocations: 451.8 kB / 359.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1356, allocations: 1.812 kB / 359.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1359, allocations: 161.8 kB / 360.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.1364, allocations: 83.28 kB / 360.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008311/0.1448, allocations: 6.774 MB / 366.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.1454, allocations: 1.004 MB / 367.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003371/0.1457, allocations: 93.95 kB / 368 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.1462, allocations: 387.3 kB / 368.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1462, allocations: 4 kB / 368.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1802/0.3264, allocations: 11.16 MB / 379.6 MB, free: 53.56 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.3266, allocations: 207 kB / 379.8 MB, free: 53.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.472, allocations: 3.938 kB / 379.8 MB, free: 53.3 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches