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.0009054/0.0009054, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003125/0.003125, allocations: 156.7 kB / 24.7 MB, free: 9.441 MB / 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.8333/0.8333, allocations: 177 MB / 204.9 MB, free: 5.738 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.333e-06/1.333e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.972e-05, allocations: 2.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003348/0.003367, allocations: 3.721 MB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00481, allocations: 0.9381 MB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.004999, allocations: 11.94 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.005164, allocations: 87.14 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.005407, allocations: 202.2 kB / 330.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.005718, allocations: 163.6 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.00614, allocations: 0.7079 MB / 331.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.006341, allocations: 135.7 kB / 331.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.006675, allocations: 399 kB / 332.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006865, allocations: 211.3 kB / 332.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.006916, allocations: 56 kB / 332.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.006992, allocations: 56 kB / 332.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.007053, allocations: 139.4 kB / 332.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.00717, allocations: 211.4 kB / 332.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.007624, allocations: 0.6503 MB / 333.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.007626, allocations: 0 / 333.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.007628, allocations: 7.984 kB / 333.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.007635, allocations: 4 kB / 333.5 MB, free: 7.637 MB / 298.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.0008783/0.008513, allocations: 0.8046 MB / 334.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.008549, allocations: 15.98 kB / 334.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.008721, allocations: 84.53 kB / 334.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.009071, allocations: 321.3 kB / 334.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.009095, allocations: 37.38 kB / 334.7 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.009147, allocations: 48.38 kB / 334.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.009686, allocations: 0.6231 MB / 335.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.009699, allocations: 192 / 335.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.009729, allocations: 24.38 kB / 335.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.009739, allocations: 15.94 kB / 335.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.01038, allocations: 332.4 kB / 335.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.0118, allocations: 1.445 MB / 337.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.0121, allocations: 249.1 kB / 337.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.01224, allocations: 137.7 kB / 337.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.01226, allocations: 4 kB / 337.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.01229, allocations: 42.5 kB / 337.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.01229, allocations: 0 / 337.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.01342, allocations: 0.8128 MB / 338.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.01346, allocations: 81.11 kB / 338.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.01372, allocations: 381.5 kB / 338.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01374, allocations: 29.7 kB / 338.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01386, allocations: 292.1 kB / 339.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.01391, allocations: 119 kB / 339.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.01398, allocations: 78.14 kB / 339.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.01407, allocations: 346.8 kB / 339.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.01419, allocations: 101 kB / 339.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01435, allocations: 207.1 kB / 340 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.01464, allocations: 302.1 kB / 340.3 MB, free: 388 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01464, allocations: 4 kB / 340.3 MB, free: 384 kB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004653/0.01511, allocations: 449.2 kB / 340.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01512, allocations: 8 kB / 340.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01512, allocations: 0 / 340.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.01533, allocations: 81.59 kB / 340.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.01549, allocations: 79.92 kB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.01744, allocations: 2.855 MB / 343.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01756, allocations: 31.97 kB / 343.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01757, allocations: 12 kB / 343.8 MB, free: 12.66 MB / 314.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.0001183/0.01769, allocations: 165.7 kB / 344 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.01774, allocations: 43.77 kB / 344 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.01777, allocations: 43.28 kB / 344.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01778, allocations: 11.92 kB / 344.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01778, allocations: 4 kB / 344.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01778, allocations: 0 / 344.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.01851, allocations: 0.8081 MB / 344.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01851, allocations: 0 / 344.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.0186, allocations: 43.97 kB / 345 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.01874, allocations: 85.58 kB / 345 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01875, allocations: 8.125 kB / 345 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.02006, allocations: 2.859 MB / 347.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02006, allocations: 3.938 kB / 347.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.02058, allocations: 0.603 MB / 348.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.02062, allocations: 43.78 kB / 348.6 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.02064, allocations: 12.25 kB / 348.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02079, allocations: 31.97 kB / 348.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.02084, allocations: 23.95 kB / 348.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.02085, allocations: 15.98 kB / 348.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.02102, allocations: 263.2 kB / 348.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02102, allocations: 0 / 348.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.02135, allocations: 116 kB / 349 MB, free: 7.219 MB / 314.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.0001026/0.02145, allocations: 115.1 kB / 349.1 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.02196, allocations: 0.4976 MB / 349.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02197, allocations: 0 / 349.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.02255, allocations: 385 kB / 350 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.02285, allocations: 49.36 kB / 350 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.02382, allocations: 0.9093 MB / 351 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.02396, allocations: 230.2 kB / 351.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.02403, allocations: 32.5 kB / 351.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02403, allocations: 0 / 351.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of Templates: time 0.006878/0.0309, allocations: 9.085 MB / 360.3 MB, free: 11.8 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.005708873271942]