Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009135/0.0009135, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009762/0.0009762, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9319/0.9319, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.73e-05, allocations: 5.125 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005221/0.005238, allocations: 4.073 MB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.006877, allocations: 0.9423 MB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.007126, allocations: 11.94 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.007374, allocations: 91.08 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.007777, allocations: 194.3 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.008243, allocations: 171.6 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.008965, allocations: 0.6963 MB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.009273, allocations: 139.7 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.009801, allocations: 410.9 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.01012, allocations: 211.3 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.01022, allocations: 56 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01036, allocations: 63.97 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.01045, allocations: 131.4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.01068, allocations: 219.4 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.01124, allocations: 434.4 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01124, allocations: 4 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.01125, allocations: 3.984 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.01126, allocations: 0 / 280.7 MB, free: 9.566 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.001374/0.01263, allocations: 0.9046 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.01268, allocations: 19.98 kB / 281.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.01301, allocations: 120.5 kB / 281.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.01351, allocations: 320.2 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.01355, allocations: 37.38 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.01364, allocations: 56.33 kB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.01441, allocations: 0.5422 MB / 282.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01443, allocations: 4.172 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.01447, allocations: 28.38 kB / 282.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.01449, allocations: 15.94 kB / 282.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.01494, allocations: 182.7 kB / 283 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.01657, allocations: 1.571 MB / 284.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.01687, allocations: 220.9 kB / 284.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.01697, allocations: 103.5 kB / 284.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.01699, allocations: 4 kB / 284.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.01702, allocations: 45.33 kB / 284.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.01702, allocations: 0 / 284.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001056/0.01807, allocations: 0.7023 MB / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.01811, allocations: 85.09 kB / 285.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01838, allocations: 406.6 kB / 286.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.0184, allocations: 33.7 kB / 286.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.01855, allocations: 342.8 kB / 286.4 MB, free: 3.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.0186, allocations: 119 kB / 286.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.01868, allocations: 75.86 kB / 286.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01882, allocations: 0.5196 MB / 287.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.01891, allocations: 52.95 kB / 287.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01915, allocations: 189.1 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.01937, allocations: 267.2 kB / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01937, allocations: 0 / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004087/0.01978, allocations: 367.6 kB / 288 MB, free: 1.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.0198, allocations: 8.297 kB / 288 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.0198, allocations: 8 kB / 288 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.02012, allocations: 103.3 kB / 288.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.02029, allocations: 79.89 kB / 288.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.02209, allocations: 3.854 MB / 292.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.02221, allocations: 19.89 kB / 292.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.02223, allocations: 12.19 kB / 292.1 MB, free: 13.49 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.0001093/0.02234, allocations: 184.4 kB / 292.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.0224, allocations: 63.83 kB / 292.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.02243, allocations: 39.3 kB / 292.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02243, allocations: 4 kB / 292.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.02244, allocations: 3.984 kB / 292.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02245, allocations: 4 kB / 292.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.02316, allocations: 0.8232 MB / 293.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02317, allocations: 4 kB / 293.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.02326, allocations: 43.92 kB / 293.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.02351, allocations: 107.2 kB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.02353, allocations: 15.98 kB / 293.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.02501, allocations: 3.855 MB / 297.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02501, allocations: 0 / 297.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.02547, allocations: 0.6008 MB / 297.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.02552, allocations: 47.62 kB / 297.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.02554, allocations: 4 kB / 297.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.02569, allocations: 32.02 kB / 297.9 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.02576, allocations: 23.95 kB / 297.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.02577, allocations: 11.98 kB / 297.9 MB, free: 7.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.02607, allocations: 271.1 kB / 298.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02607, allocations: 0 / 298.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.02642, allocations: 116 kB / 298.3 MB, free: 6.93 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 0.0001012/0.02652, allocations: 115.2 kB / 298.4 MB, free: 6.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.02707, allocations: 0.5488 MB / 299 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02707, allocations: 0 / 299 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.02737, allocations: 479.7 kB / 299.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.02767, allocations: 53.41 kB / 299.5 MB, free: 5.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.02884, allocations: 0.8805 MB / 300.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.02892, allocations: 121.9 kB / 300.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.02901, allocations: 43.25 kB / 300.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.02906, allocations: 28.5 kB / 300.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02906, allocations: 0 / 300.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of Templates: time 0.006541/0.03561, allocations: 4.547 MB / 305.1 MB, free: 56 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.204588514752686]