Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 88.66 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 153.1 kB / 24.25 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 173.4 MB / 200.8 MB, free: 9.273 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.4 MB, free: 6.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.914e-05, allocations: 2.312 kB / 267.4 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005894/0.005924, allocations: 3.69 MB / 271 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.007899, allocations: 0.8528 MB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.00814, allocations: 8 kB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.008398, allocations: 95.02 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.008812, allocations: 198.3 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.00922, allocations: 139.7 kB / 272.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008571/0.01008, allocations: 0.6924 MB / 273 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.01037, allocations: 143.7 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.01089, allocations: 391 kB / 273.5 MB, free: 428 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.01123, allocations: 223.3 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.01132, allocations: 56 kB / 273.8 MB, free: 148 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.01142, allocations: 52 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01157, allocations: 131.4 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.01183, allocations: 215.4 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.01264, allocations: 0.6502 MB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01264, allocations: 3.938 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01264, allocations: 0 / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01265, allocations: 0 / 274.9 MB, free: 15.1 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.001864/0.01451, allocations: 0.8047 MB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01455, allocations: 8.031 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.01475, allocations: 104.5 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.01535, allocations: 313.4 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.0154, allocations: 37.38 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.01549, allocations: 52.33 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.01653, allocations: 0.6192 MB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01655, allocations: 192 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.01661, allocations: 24.36 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.01662, allocations: 15.94 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/0.01734, allocations: 336.5 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.02024, allocations: 1.464 MB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.02076, allocations: 249 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.02104, allocations: 129.7 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.02106, allocations: 4 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.02111, allocations: 42.8 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.02111, allocations: 0 / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002071/0.02318, allocations: 0.816 MB / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.02325, allocations: 81.11 kB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.02374, allocations: 369.6 kB / 280.3 MB, free: 9.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.02379, allocations: 37.7 kB / 280.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.02405, allocations: 300.1 kB / 280.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.02417, allocations: 123 kB / 280.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.0243, allocations: 62.2 kB / 280.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.02452, allocations: 350.8 kB / 281.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.02477, allocations: 104.9 kB / 281.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.02508, allocations: 195.2 kB / 281.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.02564, allocations: 316.9 kB / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.02565, allocations: 0 / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001199/0.02684, allocations: 469.6 kB / 282.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.02686, allocations: 6.656 kB / 282.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02687, allocations: 4 kB / 282.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.02751, allocations: 109.9 kB / 282.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.02786, allocations: 83.84 kB / 282.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.03101, allocations: 2.874 MB / 285.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.03129, allocations: 20 kB / 285.3 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.03133, allocations: 16 kB / 285.3 MB, free: 4.035 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.0002379/0.03156, allocations: 161.9 kB / 285.5 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.0317, allocations: 63.64 kB / 285.5 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.03178, allocations: 47.27 kB / 285.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.03179, allocations: 4 kB / 285.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.0318, allocations: 4 kB / 285.6 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0318, allocations: 0 / 285.6 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.0333, allocations: 0.7912 MB / 286.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.0333, allocations: 3.984 kB / 286.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.03351, allocations: 43.98 kB / 286.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.03412, allocations: 113.5 kB / 286.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.03414, allocations: 8 kB / 286.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.03742, allocations: 2.878 MB / 289.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.03742, allocations: 224 / 289.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.03853, allocations: 0.6139 MB / 290 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.03862, allocations: 43.69 kB / 290.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.03866, allocations: 4 kB / 290.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.03902, allocations: 35.98 kB / 290.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.03911, allocations: 27.86 kB / 290.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.03914, allocations: 11.98 kB / 290.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003376/0.03947, allocations: 259.2 kB / 290.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03947, allocations: 3.938 kB / 290.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.0401, allocations: 116 kB / 290.5 MB, free: 14.54 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.0001606/0.04026, allocations: 107.2 kB / 290.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.04127, allocations: 0.4997 MB / 291.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.04127, allocations: 0 / 291.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.04197, allocations: 377.7 kB / 291.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.0425, allocations: 53.36 kB / 291.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.0443, allocations: 0.9057 MB / 292.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.0446, allocations: 238.2 kB / 292.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.04476, allocations: 39.27 kB / 292.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.04485, allocations: 32.48 kB / 292.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04485, allocations: 0 / 292.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of Templates: time 0.01081/0.05566, allocations: 4.474 MB / 297.2 MB, free: 7.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.8819423069944605]