Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003367/0.003367, allocations: 159 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8679/0.8679, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.757e-05, allocations: 2.281 kB / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.149/0.149, allocations: 3.625 MB / 302.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1509, allocations: 0.886 MB / 303 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.1512, allocations: 8.219 kB / 303 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1514, allocations: 97.17 kB / 303.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1517, allocations: 198 kB / 303.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1521, allocations: 146.9 kB / 303.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1526, allocations: 0.6949 MB / 304.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1529, allocations: 133.5 kB / 304.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.1533, allocations: 395.6 kB / 304.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1536, allocations: 214.1 kB / 304.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.1537, allocations: 55.31 kB / 304.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.1537, allocations: 55.47 kB / 305 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.1538, allocations: 130.8 kB / 305.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.154, allocations: 219.8 kB / 305.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.1546, allocations: 0.6477 MB / 305.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1546, allocations: 4 kB / 306 MB, free: 12.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1546, allocations: 1.094 kB / 306 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1546, allocations: 0 / 306 MB, free: 12.23 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001053/0.1556, allocations: 0.793 MB / 306.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.1557, allocations: 15.11 kB / 306.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.1559, allocations: 115.1 kB / 306.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.156, allocations: 71.83 kB / 306.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.1565, allocations: 312.5 kB / 307.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.1565, allocations: 38.62 kB / 307.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.1566, allocations: 50.41 kB / 307.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.1573, allocations: 0.6503 MB / 308 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1573, allocations: 1.5 kB / 308 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.1574, allocations: 25.28 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1574, allocations: 11.84 kB / 308 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.1579, allocations: 342.9 kB / 308.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.1599, allocations: 1.551 MB / 309.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.1603, allocations: 247.6 kB / 310.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1605, allocations: 135.9 kB / 310.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1605, allocations: 6.047 kB / 310.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1605, allocations: 37.72 kB / 310.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.1605, allocations: 1.094 kB / 310.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001404/0.1619, allocations: 0.8258 MB / 311.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.1619, allocations: 81.47 kB / 311.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.1623, allocations: 391.2 kB / 311.6 MB, free: 8.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1623, allocations: 32.75 kB / 311.6 MB, free: 8.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1624, allocations: 301 kB / 311.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.1625, allocations: 122.3 kB / 312.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.1626, allocations: 74.86 kB / 312.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.1626, allocations: 352.7 kB / 312.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1628, allocations: 104.1 kB / 312.6 MB, free: 7.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.1629, allocations: 193.5 kB / 312.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.1633, allocations: 312.5 kB / 313.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1633, allocations: 5.375 kB / 313.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000529/0.1638, allocations: 439.2 kB / 313.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1638, allocations: 5.5 kB / 313.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1638, allocations: 2.75 kB / 313.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.1641, allocations: 90.3 kB / 313.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1643, allocations: 77.72 kB / 313.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.1659, allocations: 2.905 MB / 316.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.1661, allocations: 25.77 kB / 316.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1661, allocations: 17.03 kB / 316.6 MB, free: 4.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.1664, allocations: 164.3 kB / 316.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1664, allocations: 45.34 kB / 316.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1665, allocations: 45.88 kB / 316.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1665, allocations: 8.656 kB / 316.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1665, allocations: 1.406 kB / 316.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1665, allocations: 3.391 kB / 316.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1677, allocations: 0.8629 MB / 317.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1677, allocations: 1 kB / 317.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1678, allocations: 46.64 kB / 317.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.168, allocations: 87.83 kB / 317.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.168, allocations: 11.55 kB / 317.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1693, allocations: 2.91 MB / 320.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1693, allocations: 1.062 kB / 320.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.1699, allocations: 0.6062 MB / 321.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1699, allocations: 46.61 kB / 321.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.17, allocations: 6.859 kB / 321.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1701, allocations: 27.48 kB / 321.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.1702, allocations: 26.64 kB / 321.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1702, allocations: 11.81 kB / 321.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.1705, allocations: 275.9 kB / 321.8 MB, free: 380 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1705, allocations: 0 / 321.8 MB, free: 380 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000499/0.171, allocations: 117.7 kB / 321.9 MB, free: 368 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.172, allocations: 1.166 MB / 323.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.1729, allocations: 0.4917 MB / 323.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.1729, allocations: 1.406 kB / 323.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.1733, allocations: 384.2 kB / 323.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1737, allocations: 62.28 kB / 324 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.1784, allocations: 4.156 MB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1787, allocations: 243.1 kB / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.1789, allocations: 45.98 kB / 328.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1791, allocations: 174.2 kB / 328.6 MB, free: 12 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1791, allocations: 1.188 kB / 328.6 MB, free: 12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2094, allocations: 10.08 MB / 338.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.189, allocations: 7.922 kB / 338.7 MB, free: 4.984 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.077890435233712]