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.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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 104.5 kB / 18.35 MB, free: 4.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.0011/0.0011, allocations: 191 kB / 19.29 MB, free: 3.715 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.673/1.673, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001289/0.001289, allocations: 51.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005782/0.1332, allocations: 4.049 MB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1349, allocations: 0.9044 MB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1352, allocations: 11.94 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1355, allocations: 99.06 kB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.1358, allocations: 174.4 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1362, allocations: 143.8 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.137, allocations: 0.677 MB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.1374, allocations: 199 kB / 335 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1377, allocations: 259 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.1381, allocations: 294.6 kB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.1382, allocations: 56 kB / 335.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.1383, allocations: 56 kB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1384, allocations: 127.5 kB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1387, allocations: 306.5 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.1393, allocations: 0.6422 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1393, allocations: 4 kB / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1393, allocations: 0 / 336.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1393, allocations: 0 / 336.7 MB, free: 11.74 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001487/0.1408, allocations: 0.8534 MB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1409, allocations: 15.89 kB / 337.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.141, allocations: 68.19 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.1416, allocations: 367.6 kB / 338 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.1416, allocations: 37.38 kB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1417, allocations: 48.38 kB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.1425, allocations: 483.5 kB / 338.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1425, allocations: 4 kB / 338.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.1426, allocations: 20 kB / 338.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1426, allocations: 15.94 kB / 338.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.1432, allocations: 328.3 kB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.1459, allocations: 1.693 MB / 340.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.1464, allocations: 269.1 kB / 340.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.1466, allocations: 145.9 kB / 341 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1467, allocations: 7.906 kB / 341 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.1467, allocations: 38.56 kB / 341 MB, free: 7.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.1467, allocations: 0 / 341 MB, free: 7.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00201/0.1488, allocations: 0.9424 MB / 342 MB, free: 6.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1488, allocations: 81.11 kB / 342.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.1493, allocations: 385.5 kB / 342.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1493, allocations: 33.7 kB / 342.5 MB, free: 5.605 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1495, allocations: 283.5 kB / 342.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.1496, allocations: 114.3 kB / 342.9 MB, free: 5.211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1497, allocations: 78.03 kB / 342.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1499, allocations: 358.7 kB / 343.3 MB, free: 4.766 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1501, allocations: 96.83 kB / 343.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.1504, allocations: 198.6 kB / 343.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.1509, allocations: 306.3 kB / 343.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1509, allocations: 4 kB / 343.9 MB, free: 4.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000798/0.1517, allocations: 442.3 kB / 344.3 MB, free: 3.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1517, allocations: 11.94 kB / 344.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1517, allocations: 4 kB / 344.3 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.1521, allocations: 81.97 kB / 344.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1524, allocations: 79.89 kB / 344.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.155, allocations: 3.119 MB / 347.6 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.1553, allocations: 20.06 kB / 347.6 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.1553, allocations: 16 kB / 347.6 MB, free: 48 kB / 286.1 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.0002195/0.1555, allocations: 173.6 kB / 347.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.1556, allocations: 39.53 kB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.1557, allocations: 43.47 kB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1557, allocations: 4 kB / 347.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.1557, allocations: 7.938 kB / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1557, allocations: 7.984 kB / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1571, allocations: 0.9319 MB / 348.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.1571, allocations: 0 / 348.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1573, allocations: 51.84 kB / 348.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.1576, allocations: 85.64 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.1576, allocations: 4 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.1603, allocations: 3.142 MB / 352.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1603, allocations: 0 / 352.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.1612, allocations: 0.6097 MB / 352.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1613, allocations: 112.7 kB / 352.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1614, allocations: 11.94 kB / 352.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.1617, allocations: 27.97 kB / 352.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.1618, allocations: 23.97 kB / 352.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1618, allocations: 12.19 kB / 352.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1621, allocations: 279.1 kB / 353.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1621, allocations: 0 / 353.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006023/0.1627, allocations: 116 kB / 353.3 MB, free: 9.984 MB / 302.1 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.0001604/0.1629, allocations: 111.4 kB / 353.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009476/0.1638, allocations: 0.5127 MB / 353.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1638, allocations: 0 / 353.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.1644, allocations: 389.7 kB / 354.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.165, allocations: 57.48 kB / 354.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1668, allocations: 0.9559 MB / 355.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.1674, allocations: 0.8353 MB / 356.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.1676, allocations: 47.28 kB / 356.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.1677, allocations: 27.44 kB / 356.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1677, allocations: 4 kB / 356.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Templates: time 0.01009/0.1778, allocations: 4.668 MB / 360.9 MB, free: 2.273 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches