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.0009322/0.0009322, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001223/0.001223, allocations: 166.8 kB / 25.33 MB, free: 9.055 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.9086/0.9086, allocations: 158.6 MB / 187.2 MB, free: 2.922 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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.718e-05, allocations: 5.406 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003817/0.003844, allocations: 3.991 MB / 255.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005665, allocations: 0.8965 MB / 256 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.005962, allocations: 11.94 kB / 256 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.006184, allocations: 99 kB / 256.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.00655, allocations: 194.3 kB / 256.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.006926, allocations: 139.8 kB / 256.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.007555, allocations: 0.7039 MB / 257.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.007851, allocations: 139.6 kB / 257.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005705/0.008421, allocations: 391.1 kB / 257.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.008745, allocations: 219.3 kB / 257.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.008859, allocations: 63.98 kB / 257.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.008956, allocations: 52 kB / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.009057, allocations: 131.4 kB / 258.1 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.009264, allocations: 215.4 kB / 258.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.009685, allocations: 434.4 kB / 258.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.00969, allocations: 3.938 kB / 258.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.009691, allocations: 0 / 258.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.009701, allocations: 0 / 258.7 MB, free: 11.89 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.001102/0.0108, allocations: 0.8968 MB / 259.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.01086, allocations: 19.92 kB / 259.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01102, allocations: 104.6 kB / 259.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.01142, allocations: 316.1 kB / 260 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.01145, allocations: 33.38 kB / 260.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.01152, allocations: 56.38 kB / 260.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.0121, allocations: 0.5344 MB / 260.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01211, allocations: 4.188 kB / 260.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.01215, allocations: 20.38 kB / 260.7 MB, free: 9.797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.01216, allocations: 15.94 kB / 260.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.01245, allocations: 186.7 kB / 260.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.0142, allocations: 1.578 MB / 262.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.01451, allocations: 214.1 kB / 262.7 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01463, allocations: 102 kB / 262.8 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.01465, allocations: 7.984 kB / 262.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.01468, allocations: 45.39 kB / 262.8 MB, free: 7.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.01469, allocations: 0 / 262.8 MB, free: 7.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001165/0.01585, allocations: 0.7013 MB / 263.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.01589, allocations: 85.05 kB / 263.6 MB, free: 6.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01616, allocations: 402.6 kB / 264 MB, free: 6.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.01618, allocations: 37.7 kB / 264 MB, free: 6.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.01633, allocations: 338.8 kB / 264.4 MB, free: 5.898 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.01639, allocations: 119 kB / 264.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.01647, allocations: 83.8 kB / 264.6 MB, free: 5.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01662, allocations: 0.5157 MB / 265.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.01671, allocations: 48.97 kB / 265.1 MB, free: 5.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01687, allocations: 181.2 kB / 265.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.0171, allocations: 267.9 kB / 265.6 MB, free: 4.574 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0171, allocations: 0 / 265.6 MB, free: 4.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005011/0.01761, allocations: 372.2 kB / 265.9 MB, free: 4.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.01763, allocations: 8 kB / 265.9 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01764, allocations: 0 / 265.9 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.018, allocations: 111.6 kB / 266 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.01818, allocations: 75.84 kB / 266.1 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.02023, allocations: 3.854 MB / 270 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.02037, allocations: 16.03 kB / 270 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.02039, allocations: 19.98 kB / 270 MB, free: 15.86 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.02052, allocations: 180.4 kB / 270.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.02058, allocations: 51.77 kB / 270.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.02062, allocations: 43.27 kB / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.02063, allocations: 7.984 kB / 270.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.02063, allocations: 4 kB / 270.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.02064, allocations: 3.984 kB / 270.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.02145, allocations: 0.8222 MB / 271.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.02145, allocations: 7.938 kB / 271.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.02155, allocations: 39.97 kB / 271.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.02185, allocations: 107.2 kB / 271.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.02187, allocations: 8 kB / 271.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.02392, allocations: 3.869 MB / 275.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.02393, allocations: 3.938 kB / 275.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.02472, allocations: 0.5886 MB / 275.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.0248, allocations: 43.64 kB / 275.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.02484, allocations: 4 kB / 275.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.02511, allocations: 31.98 kB / 275.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.02522, allocations: 27.94 kB / 275.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.02524, allocations: 12.23 kB / 275.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.02552, allocations: 275.1 kB / 276.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.02552, allocations: 0 / 276.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007436/0.02627, allocations: 116 kB / 276.2 MB, free: 9.297 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.0001616/0.02643, allocations: 111.2 kB / 276.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.02723, allocations: 0.553 MB / 276.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.02723, allocations: 0 / 276.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.02763, allocations: 467.1 kB / 277.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.028, allocations: 64.81 kB / 277.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.0295, allocations: 0.8804 MB / 278.3 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.0296, allocations: 117.8 kB / 278.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.02973, allocations: 43.25 kB / 278.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.0298, allocations: 28.5 kB / 278.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.0298, allocations: 7.938 kB / 278.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of Templates: time 0.008484/0.03828, allocations: 4.701 MB / 283.2 MB, free: 2.234 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",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.1195668666623533]