Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000735/0.000735, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009558/0.001691, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000695/0.000695, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008335/0.001529, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.958/0.958, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08729/1.045, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.607e-05, allocations: 6.25 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005009/0.005025, allocations: 4.068 MB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.007079, allocations: 0.9925 MB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.00736, allocations: 11.94 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.007543, allocations: 91.08 kB / 249.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.007969, allocations: 198.2 kB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.008364, allocations: 163.6 kB / 250.1 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.009097, allocations: 0.6964 MB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.009374, allocations: 144.3 kB / 250.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.01008, allocations: 468.1 kB / 251.4 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.01039, allocations: 215.3 kB / 251.6 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.01048, allocations: 56 kB / 251.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.01063, allocations: 64 kB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.01072, allocations: 99.56 kB / 251.8 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.01092, allocations: 171.7 kB / 252 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.01141, allocations: 406.4 kB / 252.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.01142, allocations: 3.984 kB / 252.4 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01142, allocations: 0 / 252.4 MB, free: 6.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.01144, allocations: 0 / 252.4 MB, free: 6.414 MB / 250.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.001288/0.01273, allocations: 0.9045 MB / 253.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.01277, allocations: 12.03 kB / 253.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.01306, allocations: 178 kB / 253.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.01345, allocations: 261.4 kB / 253.7 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.01349, allocations: 37.38 kB / 253.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.01356, allocations: 48.38 kB / 253.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.01412, allocations: 0.5182 MB / 254.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01414, allocations: 192 / 254.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.01417, allocations: 24.38 kB / 254.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01418, allocations: 15.94 kB / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.0144, allocations: 120 kB / 254.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.01611, allocations: 1.22 MB / 255.7 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.01637, allocations: 184.5 kB / 255.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.01646, allocations: 77.67 kB / 256 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01649, allocations: 7.984 kB / 256 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.01652, allocations: 42.56 kB / 256 MB, free: 2.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.01652, allocations: 0 / 256 MB, free: 2.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.000936/0.01746, allocations: 490.6 kB / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.01751, allocations: 85.11 kB / 256.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.01773, allocations: 331.2 kB / 256.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01775, allocations: 33.7 kB / 256.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01787, allocations: 260.7 kB / 257.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.01794, allocations: 123 kB / 257.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.01801, allocations: 82.12 kB / 257.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01813, allocations: 350.7 kB / 257.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.01818, allocations: 36.97 kB / 257.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.01828, allocations: 131.2 kB / 257.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.01845, allocations: 205.8 kB / 258.1 MB, free: 328 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01846, allocations: 0 / 258.1 MB, free: 328 kB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002773/0.01873, allocations: 274.1 kB / 258.3 MB, free: 44 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01875, allocations: 15 kB / 258.4 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01875, allocations: 0 / 258.4 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.01904, allocations: 93.62 kB / 258.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.01923, allocations: 91.83 kB / 258.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.02059, allocations: 2.605 MB / 261.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.0207, allocations: 15.94 kB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.02071, allocations: 15.94 kB / 261.2 MB, free: 13.03 MB / 266.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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.02081, allocations: 137.9 kB / 261.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.02085, allocations: 31.97 kB / 261.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.02089, allocations: 47.3 kB / 261.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02089, allocations: 4 kB / 261.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.0209, allocations: 3.938 kB / 261.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.0209, allocations: 3.984 kB / 261.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.02149, allocations: 0.5654 MB / 262 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.0215, allocations: 7.984 kB / 262 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.0216, allocations: 51.97 kB / 262 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.02165, allocations: 35.7 kB / 262.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.0219, allocations: 109.5 kB / 262.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.02191, allocations: 8 kB / 262.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.02314, allocations: 2.593 MB / 264.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.02315, allocations: 7.984 kB / 264.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.02349, allocations: 432.7 kB / 265.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.02352, allocations: 11.94 kB / 265.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.02366, allocations: 24.17 kB / 265.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.02371, allocations: 27.94 kB / 265.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.02373, allocations: 12 kB / 265.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.759e-05/0.02382, allocations: 132.7 kB / 265.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02382, allocations: 8 kB / 265.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.02423, allocations: 116 kB / 265.5 MB, free: 8.445 MB / 266.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.0001029/0.02433, allocations: 92.34 kB / 265.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003736/0.02471, allocations: 420.3 kB / 266 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.02472, allocations: 16 kB / 266 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.02497, allocations: 342.4 kB / 266.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.02525, allocations: 89.44 kB / 266.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.02885, allocations: 0.9162 MB / 267.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.02892, allocations: 129.9 kB / 267.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.02902, allocations: 35.28 kB / 267.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.02916, allocations: 123.3 kB / 267.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02916, allocations: 0 / 267.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Templates: time 0.007476/0.03663, allocations: 4.952 MB / 272.6 MB, free: 1.324 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.846826357766986]