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.0008447/0.0008447, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009855/0.0009855, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9539/0.9539, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.473e-06/1.473e-06, allocations: 3.938 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.827e-05, allocations: 5.406 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00353/0.003548, allocations: 3.99 MB / 278.2 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.005136, allocations: 0.9468 MB / 279.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.005385, allocations: 12.56 kB / 279.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.005603, allocations: 95.02 kB / 279.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.005989, allocations: 192.4 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.006461, allocations: 171.7 kB / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.007194, allocations: 0.6924 MB / 280.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.007441, allocations: 139.7 kB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.008042, allocations: 403 kB / 280.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.008395, allocations: 215.3 kB / 281.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.008488, allocations: 56 kB / 281.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.008613, allocations: 60 kB / 281.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.008715, allocations: 135.4 kB / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.008948, allocations: 219.4 kB / 281.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.009501, allocations: 442.4 kB / 282 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.009504, allocations: 0 / 282 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009505, allocations: 0 / 282 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.009513, allocations: 4 kB / 282 MB, free: 12.63 MB / 266.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.001124/0.01064, allocations: 0.9084 MB / 282.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01067, allocations: 12.03 kB / 282.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.01088, allocations: 120.5 kB / 283 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.01123, allocations: 316.1 kB / 283.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.01126, allocations: 37.38 kB / 283.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.01132, allocations: 52.38 kB / 283.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.01174, allocations: 0.5109 MB / 283.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01175, allocations: 192 / 283.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.01178, allocations: 24.38 kB / 283.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01179, allocations: 15.94 kB / 283.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.012, allocations: 139.9 kB / 284.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.01349, allocations: 1.524 MB / 285.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.01372, allocations: 210 kB / 285.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.01379, allocations: 83.31 kB / 285.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01381, allocations: 11.94 kB / 285.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.01384, allocations: 41.58 kB / 285.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.532e-06/0.01384, allocations: 0 / 285.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007968/0.01464, allocations: 0.5379 MB / 286.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.01467, allocations: 81.11 kB / 286.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.01501, allocations: 394.4 kB / 286.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01503, allocations: 37.7 kB / 287 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.01521, allocations: 350.7 kB / 287.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.01527, allocations: 111 kB / 287.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.01536, allocations: 83.78 kB / 287.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01548, allocations: 0.5234 MB / 288 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.01555, allocations: 36.97 kB / 288.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01567, allocations: 173.1 kB / 288.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01586, allocations: 237.2 kB / 288.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01586, allocations: 0 / 288.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004076/0.01627, allocations: 347.2 kB / 288.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01628, allocations: 11.92 kB / 288.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01629, allocations: 4 kB / 288.8 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.01659, allocations: 107.6 kB / 288.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.01676, allocations: 79.91 kB / 289 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.01847, allocations: 3.801 MB / 292.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.0186, allocations: 27.89 kB / 292.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.01862, allocations: 12 kB / 292.9 MB, free: 1.039 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 0.0001138/0.01873, allocations: 176.5 kB / 293 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.0188, allocations: 51.77 kB / 293.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.01884, allocations: 55.2 kB / 293.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01884, allocations: 4 kB / 293.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.01885, allocations: 64 / 293.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01885, allocations: 8 kB / 293.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.01967, allocations: 0.737 MB / 293.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01967, allocations: 0 / 293.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.01976, allocations: 47.91 kB / 293.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.02003, allocations: 111.2 kB / 294 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.02005, allocations: 11.94 kB / 294 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.02152, allocations: 3.797 MB / 297.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.02153, allocations: 8.094 kB / 297.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.02193, allocations: 0.5652 MB / 298.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.02201, allocations: 47.62 kB / 298.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.02203, allocations: 4.047 kB / 298.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.02219, allocations: 35.95 kB / 298.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.02223, allocations: 27.95 kB / 298.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.02225, allocations: 8 kB / 298.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.02237, allocations: 259 kB / 298.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02237, allocations: 0 / 298.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.02273, allocations: 116 kB / 298.9 MB, free: 10.68 MB / 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 9.726e-05/0.02283, allocations: 107.2 kB / 299 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.02331, allocations: 0.5334 MB / 299.5 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.02331, allocations: 4 kB / 299.5 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.02358, allocations: 459.1 kB / 300 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.02389, allocations: 57.92 kB / 300 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02497, allocations: 0.8764 MB / 300.9 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.02504, allocations: 113.9 kB / 301 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.02524, allocations: 39.27 kB / 301.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.02539, allocations: 150.2 kB / 301.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02539, allocations: 0 / 301.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of Templates: time 0.006931/0.03232, allocations: 4.951 MB / 306.2 MB, free: 3.34 MB / 282.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 -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: 3.265431499108672]