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.001237/0.001237, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001336/0.001336, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.9722/0.9722, allocations: 158.6 MB / 187.2 MB, free: 2.551 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 2.545e-06/2.545e-06, allocations: 0 / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.568e-05, allocations: 6.312 kB / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00609/0.006126, allocations: 3.976 MB / 255.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.008718, allocations: 0.9043 MB / 256 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.009085, allocations: 8 kB / 256 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.009355, allocations: 99.02 kB / 256.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.009835, allocations: 194.2 kB / 256.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.0103, allocations: 139.8 kB / 256.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.01116, allocations: 0.704 MB / 257.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.01156, allocations: 135.6 kB / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.01215, allocations: 399 kB / 257.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.01254, allocations: 215.3 kB / 257.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.01264, allocations: 56 kB / 257.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.01273, allocations: 56 kB / 257.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.01284, allocations: 131.4 kB / 258.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.01308, allocations: 215.4 kB / 258.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.01373, allocations: 438.4 kB / 258.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01373, allocations: 0 / 258.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.01374, allocations: 4 kB / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.01375, allocations: 3.938 kB / 258.7 MB, free: 11.87 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.001882/0.01564, allocations: 0.8968 MB / 259.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.01569, allocations: 15.98 kB / 259.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.01584, allocations: 104.6 kB / 259.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.01627, allocations: 308.1 kB / 260 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.0163, allocations: 37.38 kB / 260.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.01637, allocations: 56.36 kB / 260.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.01696, allocations: 0.5461 MB / 260.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01697, allocations: 4.188 kB / 260.7 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.017, allocations: 20.38 kB / 260.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.01702, allocations: 15.94 kB / 260.7 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.01732, allocations: 182.8 kB / 260.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.01917, allocations: 1.571 MB / 262.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.0195, allocations: 222 kB / 262.7 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.01962, allocations: 99.33 kB / 262.8 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.01965, allocations: 8 kB / 262.8 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.01968, allocations: 37.39 kB / 262.8 MB, free: 7.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.01968, allocations: 4 kB / 262.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001166/0.02085, allocations: 0.7074 MB / 263.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.02089, allocations: 81.11 kB / 263.6 MB, free: 6.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.02119, allocations: 398.6 kB / 264 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.02121, allocations: 33.7 kB / 264 MB, free: 6.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.02137, allocations: 338.8 kB / 264.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.02144, allocations: 123 kB / 264.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.02153, allocations: 83.81 kB / 264.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02167, allocations: 0.5157 MB / 265.1 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.02177, allocations: 56.95 kB / 265.1 MB, free: 5.098 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.02192, allocations: 189.1 kB / 265.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.02217, allocations: 256 kB / 265.6 MB, free: 4.559 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02218, allocations: 0 / 265.6 MB, free: 4.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000471/0.02265, allocations: 368.5 kB / 265.9 MB, free: 4.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.02267, allocations: 12.03 kB / 265.9 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.02268, allocations: 0 / 265.9 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.02307, allocations: 115.2 kB / 266 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.02326, allocations: 75.89 kB / 266.1 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.02533, allocations: 3.854 MB / 270 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.02548, allocations: 15.98 kB / 270 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.0255, allocations: 16 kB / 270 MB, free: 15.85 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.0001572/0.02566, allocations: 192.4 kB / 270.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.02572, allocations: 47.77 kB / 270.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.02576, allocations: 43.27 kB / 270.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.02576, allocations: 4 kB / 270.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.02577, allocations: 4 kB / 270.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02578, allocations: 3.984 kB / 270.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.02661, allocations: 0.82 MB / 271.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02662, allocations: 3.984 kB / 271.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.02672, allocations: 43.92 kB / 271.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.02702, allocations: 111.2 kB / 271.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.02704, allocations: 4 kB / 271.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.02895, allocations: 3.869 MB / 275.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02895, allocations: 0 / 275.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.0295, allocations: 0.5806 MB / 275.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.02956, allocations: 47.64 kB / 275.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.02958, allocations: 4 kB / 275.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.02974, allocations: 36.19 kB / 275.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.02981, allocations: 27.89 kB / 275.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.02983, allocations: 16 kB / 275.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.03002, allocations: 275.1 kB / 276.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03002, allocations: 0 / 276.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.03047, allocations: 116 kB / 276.2 MB, free: 9.277 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.0001343/0.0306, allocations: 103.2 kB / 276.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.03122, allocations: 0.5554 MB / 276.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.03122, allocations: 0 / 276.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.03158, allocations: 475.7 kB / 277.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.03192, allocations: 61.86 kB / 277.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.03345, allocations: 0.8863 MB / 278.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.03356, allocations: 117.7 kB / 278.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.03368, allocations: 39.27 kB / 278.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.03375, allocations: 32.48 kB / 278.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03375, allocations: 4 kB / 278.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Templates: time 0.007828/0.04158, allocations: 4.522 MB / 283 MB, free: 2.395 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.311198640614748]