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.0007147/0.0007147, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009563/0.001671, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001028/0.001028, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009479/0.001976, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9271/0.9271, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07822/1.005, allocations: 52.5 MB / 238.3 MB, free: 4.418 MB / 234.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 9.82e-07/9.82e-07, allocations: 0 / 239.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.607e-05, allocations: 3.859 kB / 239.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004011/0.004028, allocations: 4.033 MB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.005317, allocations: 0.9147 MB / 244.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.005463, allocations: 11.94 kB / 244.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.005595, allocations: 87.14 kB / 244.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.005836, allocations: 198.2 kB / 244.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.006041, allocations: 147.7 kB / 245 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.00647, allocations: 0.6962 MB / 245.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.006664, allocations: 144.3 kB / 245.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.007059, allocations: 464 kB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.007252, allocations: 211.3 kB / 246.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.007312, allocations: 56 kB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.007367, allocations: 56 kB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.007426, allocations: 87.69 kB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.007566, allocations: 183.6 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.007905, allocations: 398.5 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.007917, allocations: 0 / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007919, allocations: 0 / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.007931, allocations: 0 / 247.2 MB, free: 11.43 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.0008582/0.008789, allocations: 0.9045 MB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.008816, allocations: 8.031 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.008897, allocations: 84.88 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.009176, allocations: 253.4 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.009206, allocations: 41.38 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.009259, allocations: 52.38 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.009717, allocations: 0.5103 MB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.00973, allocations: 192 / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.00976, allocations: 20.38 kB / 249.1 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.009773, allocations: 15.94 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.009941, allocations: 132 kB / 249.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.01124, allocations: 1.212 MB / 250.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.01145, allocations: 196.6 kB / 250.6 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.01152, allocations: 69.31 kB / 250.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.01154, allocations: 12 kB / 250.7 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01156, allocations: 38.55 kB / 250.8 MB, free: 7.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.01156, allocations: 4 kB / 250.8 MB, free: 7.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008039/0.01237, allocations: 484.8 kB / 251.2 MB, free: 7.188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.0124, allocations: 81.11 kB / 251.3 MB, free: 7.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.01261, allocations: 335.2 kB / 251.6 MB, free: 6.754 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01262, allocations: 29.7 kB / 251.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01273, allocations: 260.7 kB / 251.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.0128, allocations: 123 kB / 252 MB, free: 6.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.01287, allocations: 70.12 kB / 252.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01298, allocations: 354.7 kB / 252.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.01302, allocations: 32.98 kB / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.01312, allocations: 143.1 kB / 252.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.0133, allocations: 204 kB / 252.8 MB, free: 5.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.0133, allocations: 4 kB / 252.8 MB, free: 5.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003227/0.01362, allocations: 266.9 kB / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01364, allocations: 4 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.01365, allocations: 7.984 kB / 253.1 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.01396, allocations: 109.8 kB / 253.2 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.01415, allocations: 91.89 kB / 253.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.01546, allocations: 2.604 MB / 255.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01559, allocations: 19.97 kB / 255.9 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.0156, allocations: 19.94 kB / 256 MB, free: 2.16 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 0.0001061/0.01571, allocations: 129.7 kB / 256.1 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.01576, allocations: 39.95 kB / 256.1 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.0158, allocations: 43.27 kB / 256.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.0158, allocations: 4 kB / 256.2 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.01581, allocations: 4 kB / 256.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01581, allocations: 0 / 256.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.0164, allocations: 0.5681 MB / 256.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.0164, allocations: 0 / 256.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01651, allocations: 55.89 kB / 256.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.01655, allocations: 35.7 kB / 256.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/0.01679, allocations: 105.5 kB / 256.9 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.0168, allocations: 7.984 kB / 256.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.01817, allocations: 2.604 MB / 259.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01817, allocations: 0 / 259.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.01852, allocations: 424.8 kB / 260 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.01855, allocations: 11.94 kB / 260 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.01869, allocations: 23.98 kB / 260 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.01874, allocations: 35.92 kB / 260 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01875, allocations: 8 kB / 260 MB, free: 13.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.01886, allocations: 132.7 kB / 260.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01886, allocations: 0 / 260.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.01919, allocations: 112 kB / 260.3 MB, free: 13.59 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.0001164/0.01931, allocations: 96.39 kB / 260.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.01973, allocations: 425 kB / 260.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/0.01975, allocations: 15.94 kB / 260.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.01998, allocations: 341.9 kB / 261.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.02027, allocations: 93.86 kB / 261.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.02393, allocations: 0.9128 MB / 262.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.02401, allocations: 117.9 kB / 262.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.02412, allocations: 39.27 kB / 262.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.02426, allocations: 119.3 kB / 262.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02426, allocations: 0 / 262.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.007717/0.03198, allocations: 4.944 MB / 267.3 MB, free: 6.461 MB / 266.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 -ignoreHideResult -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: 2.8545333091169596]