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.001467/0.001467, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001192/0.001192, allocations: 144.2 kB / 25.59 MB, free: 8.609 MB / 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 0.9859/0.9859, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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 3.065e-06/3.065e-06, allocations: 4 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.922e-05, allocations: 2.312 kB / 269.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005852/0.005891, allocations: 3.975 MB / 273.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.007946, allocations: 0.8656 MB / 274.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.008328, allocations: 11.94 kB / 274.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.008596, allocations: 91.12 kB / 274.2 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.009053, allocations: 199.9 kB / 274.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.009487, allocations: 142.8 kB / 274.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.01057, allocations: 0.6963 MB / 275.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.01089, allocations: 139.6 kB / 275.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.01145, allocations: 395.1 kB / 275.7 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.01179, allocations: 219.3 kB / 275.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.01188, allocations: 57.78 kB / 276 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.01196, allocations: 52 kB / 276 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.01206, allocations: 131.4 kB / 276.2 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.01231, allocations: 223.4 kB / 276.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.01287, allocations: 435.2 kB / 276.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01287, allocations: 0 / 276.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01288, allocations: 0 / 276.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01288, allocations: 0.75 kB / 276.8 MB, free: 2.133 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.001219/0.0141, allocations: 0.9012 MB / 277.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.01415, allocations: 12.03 kB / 277.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.0143, allocations: 108.5 kB / 277.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.01469, allocations: 300.2 kB / 278.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.01472, allocations: 41.31 kB / 278.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.0148, allocations: 56.33 kB / 278.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.01538, allocations: 0.507 MB / 278.7 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01539, allocations: 192 / 278.7 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.01544, allocations: 24.38 kB / 278.8 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01545, allocations: 15.94 kB / 278.8 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.01573, allocations: 139.9 kB / 278.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.0178, allocations: 1.528 MB / 280.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.01811, allocations: 217.8 kB / 280.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.01822, allocations: 83.31 kB / 280.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.01825, allocations: 11.94 kB / 280.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.01827, allocations: 37.64 kB / 280.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.01827, allocations: 0 / 280.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001142/0.01942, allocations: 0.5357 MB / 281.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.01946, allocations: 81.11 kB / 281.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.01979, allocations: 386.5 kB / 281.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.0201, allocations: 33.7 kB / 281.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.02029, allocations: 342.8 kB / 282.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.02037, allocations: 119 kB / 282.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.02048, allocations: 83.78 kB / 282.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.02064, allocations: 0.5195 MB / 282.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.02072, allocations: 48.89 kB / 282.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.02087, allocations: 161.2 kB / 283.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.02113, allocations: 245.2 kB / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.02114, allocations: 0 / 283.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005244/0.02166, allocations: 338.5 kB / 283.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.02168, allocations: 11.94 kB / 283.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02169, allocations: 0 / 283.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.0221, allocations: 103.6 kB / 283.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.02235, allocations: 87.89 kB / 283.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.02458, allocations: 3.817 MB / 287.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.02478, allocations: 16.14 kB / 287.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.0248, allocations: 16 kB / 287.7 MB, free: 6.574 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.02495, allocations: 180.4 kB / 287.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.02506, allocations: 51.77 kB / 287.9 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.02512, allocations: 47.2 kB / 288 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.02512, allocations: 4 kB / 288 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.02513, allocations: 8 kB / 288 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.02514, allocations: 7.984 kB / 288 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.02613, allocations: 0.7345 MB / 288.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02613, allocations: 4 kB / 288.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.02629, allocations: 39.92 kB / 288.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/0.02668, allocations: 103.2 kB / 288.8 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.02671, allocations: 12 kB / 288.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.02901, allocations: 3.808 MB / 292.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.02902, allocations: 8.094 kB / 292.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.02961, allocations: 0.5709 MB / 293.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.02968, allocations: 39.75 kB / 293.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.02972, allocations: 4 kB / 293.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.02999, allocations: 27.98 kB / 293.3 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.03006, allocations: 27.95 kB / 293.3 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.03008, allocations: 11.98 kB / 293.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.03029, allocations: 255 kB / 293.6 MB, free: 348 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03029, allocations: 0 / 293.6 MB, free: 348 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000637/0.03092, allocations: 116 kB / 293.7 MB, free: 232 kB / 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.0001879/0.03111, allocations: 111.2 kB / 293.8 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006236/0.03174, allocations: 0.5342 MB / 294.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03174, allocations: 3.938 kB / 294.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.03206, allocations: 455.2 kB / 294.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.03243, allocations: 65.78 kB / 294.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.03362, allocations: 0.8765 MB / 295.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.0337, allocations: 113.9 kB / 295.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.0338, allocations: 43.27 kB / 295.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.03395, allocations: 138.2 kB / 296 MB, free: 13.76 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03395, allocations: 0 / 296 MB, free: 13.76 MB / 282.7 MB Notification: Performance of Templates: time 0.007214/0.04117, allocations: 4.941 MB / 301 MB, free: 8.887 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",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.091656973119825]