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.0009106/0.0009106, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009911/0.0009911, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.8697/0.8697, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.152e-06/1.152e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.184e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003226/0.003238, allocations: 3.93 MB / 255.5 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004649, allocations: 0.939 MB / 256.4 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.004853, allocations: 11.94 kB / 256.4 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.005026, allocations: 91.12 kB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.005317, allocations: 194.2 kB / 256.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.005602, allocations: 143.7 kB / 256.9 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.006143, allocations: 0.704 MB / 257.6 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.006333, allocations: 140.3 kB / 257.7 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.006675, allocations: 399 kB / 258.1 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.006874, allocations: 211.3 kB / 258.3 MB, free: 452 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.006932, allocations: 56 kB / 258.3 MB, free: 396 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.006982, allocations: 56 kB / 258.4 MB, free: 340 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.007056, allocations: 135.4 kB / 258.5 MB, free: 204 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.007208, allocations: 215.5 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.007534, allocations: 438.3 kB / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.007535, allocations: 0 / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007536, allocations: 0 / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.007542, allocations: 4 kB / 259.2 MB, free: 15.55 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.0007422/0.008284, allocations: 0.7799 MB / 260 MB, free: 14.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.008312, allocations: 11.98 kB / 260 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.008396, allocations: 88.86 kB / 260.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.008648, allocations: 237.5 kB / 260.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.00867, allocations: 41.38 kB / 260.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.008721, allocations: 56.31 kB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.009086, allocations: 0.5143 MB / 260.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.009096, allocations: 192 / 260.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.009121, allocations: 20.38 kB / 260.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.009131, allocations: 15.94 kB / 260.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.00928, allocations: 124 kB / 261.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01052, allocations: 1.22 MB / 262.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.01071, allocations: 188.9 kB / 262.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.01078, allocations: 84.48 kB / 262.5 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.01079, allocations: 4.312 kB / 262.5 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.01081, allocations: 46.5 kB / 262.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.01082, allocations: 0 / 262.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007188/0.01153, allocations: 485.7 kB / 263.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.01156, allocations: 85.11 kB / 263.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.01175, allocations: 327.3 kB / 263.5 MB, free: 11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01177, allocations: 29.7 kB / 263.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.01187, allocations: 264.7 kB / 263.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.01192, allocations: 115 kB / 263.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.01199, allocations: 74.12 kB / 263.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.01207, allocations: 354.7 kB / 264.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.01213, allocations: 40.97 kB / 264.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.01222, allocations: 131.2 kB / 264.5 MB, free: 9.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01238, allocations: 201.9 kB / 264.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01238, allocations: 0 / 264.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002857/0.01266, allocations: 274.9 kB / 264.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.01267, allocations: 4 kB / 264.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01268, allocations: 4 kB / 264.9 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.01293, allocations: 97.78 kB / 265 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01308, allocations: 75.89 kB / 265.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.01429, allocations: 2.6 MB / 267.7 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01441, allocations: 15.95 kB / 267.7 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01442, allocations: 20.09 kB / 267.7 MB, free: 6.445 MB / 250.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.966e-05/0.01452, allocations: 141.6 kB / 267.9 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.01457, allocations: 35.97 kB / 267.9 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.0146, allocations: 43.27 kB / 267.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.0146, allocations: 7.984 kB / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.01461, allocations: 128 / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01462, allocations: 3.984 kB / 268 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.01519, allocations: 0.5658 MB / 268.5 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.0152, allocations: 3.938 kB / 268.5 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.01528, allocations: 43.92 kB / 268.6 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.01551, allocations: 109.5 kB / 268.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01552, allocations: 4 kB / 268.7 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.0166, allocations: 2.589 MB / 271.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0166, allocations: 0 / 271.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.01691, allocations: 432.8 kB / 271.7 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.01694, allocations: 35.7 kB / 271.7 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01697, allocations: 7.938 kB / 271.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01712, allocations: 27.98 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.01717, allocations: 35.91 kB / 271.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01718, allocations: 8 kB / 271.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.01728, allocations: 136.7 kB / 271.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01728, allocations: 4 kB / 271.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.01759, allocations: 120 kB / 272.1 MB, free: 1.867 MB / 250.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 7.726e-05/0.01767, allocations: 80.42 kB / 272.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.01803, allocations: 421.2 kB / 272.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.01803, allocations: 4 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.01828, allocations: 345.8 kB / 272.9 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01852, allocations: 57.34 kB / 272.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.01955, allocations: 0.8398 MB / 273.8 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01965, allocations: 125.7 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.01975, allocations: 39.27 kB / 273.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.01988, allocations: 119.3 kB / 274.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01988, allocations: 0 / 274.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Templates: time 0.00661/0.02649, allocations: 4.742 MB / 278.8 MB, free: 11.05 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: 2.914980499073863]