Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009461/0.0009461, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9792/0.9792, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.106e-05, allocations: 5.125 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004135/0.004156, allocations: 4.045 MB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.006121, allocations: 0.981 MB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.006558, allocations: 11.94 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.006837, allocations: 91.02 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000543/0.00738, allocations: 202.2 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.007929, allocations: 159.8 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.008602, allocations: 0.6963 MB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.008841, allocations: 152.3 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.009433, allocations: 399 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.00972, allocations: 219.3 kB / 280.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.009788, allocations: 56 kB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.009913, allocations: 59.94 kB / 280.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.009997, allocations: 131.5 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.01016, allocations: 219.4 kB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.01059, allocations: 442.3 kB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0106, allocations: 4 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0106, allocations: 0 / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.01061, allocations: 0 / 281.3 MB, free: 9.102 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.0008596/0.01147, allocations: 0.7838 MB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.0115, allocations: 11.98 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.01172, allocations: 100.8 kB / 282.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.01228, allocations: 261.4 kB / 282.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.01231, allocations: 37.38 kB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.01236, allocations: 48.38 kB / 282.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.01279, allocations: 0.5143 MB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.0128, allocations: 4.188 kB / 283 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.01283, allocations: 24.38 kB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01284, allocations: 15.94 kB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.013, allocations: 128 kB / 283.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01439, allocations: 1.224 MB / 284.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.01462, allocations: 181 kB / 284.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.01469, allocations: 73.62 kB / 284.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.01471, allocations: 8 kB / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.01475, allocations: 46.48 kB / 284.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.01475, allocations: 0 / 284.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008882/0.01564, allocations: 485.6 kB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.01567, allocations: 81.11 kB / 285.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.01587, allocations: 331.2 kB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.01589, allocations: 33.7 kB / 285.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.016, allocations: 264.7 kB / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.01606, allocations: 119 kB / 286 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.01614, allocations: 78.12 kB / 286.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.01623, allocations: 350.7 kB / 286.4 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.01628, allocations: 40.97 kB / 286.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.01636, allocations: 131.2 kB / 286.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.01653, allocations: 199.4 kB / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01653, allocations: 0 / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003175/0.01685, allocations: 285.2 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01686, allocations: 4.312 kB / 287.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01687, allocations: 8 kB / 287.1 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.01715, allocations: 97.56 kB / 287.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.01733, allocations: 83.89 kB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1221/0.1395, allocations: 2.6 MB / 289.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.1398, allocations: 18.53 kB / 289.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1398, allocations: 13.78 kB / 289.9 MB, free: 24.73 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.0001609/0.1399, allocations: 135.6 kB / 290 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.14, allocations: 36.23 kB / 290.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1401, allocations: 46.06 kB / 290.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1401, allocations: 2.688 kB / 290.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1401, allocations: 5.016 kB / 290.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1401, allocations: 1.875 kB / 290.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007979/0.1409, allocations: 0.561 MB / 290.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1409, allocations: 0 / 290.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.141, allocations: 52 kB / 290.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.1413, allocations: 101.9 kB / 290.8 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1413, allocations: 10.03 kB / 290.8 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.1424, allocations: 2.604 MB / 293.4 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1424, allocations: 6.75 kB / 293.5 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.1428, allocations: 430.2 kB / 293.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1429, allocations: 36.52 kB / 293.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1429, allocations: 7.156 kB / 293.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.143, allocations: 29.2 kB / 293.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1431, allocations: 25.02 kB / 294 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1431, allocations: 8.672 kB / 294 MB, free: 21.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1433, allocations: 138.1 kB / 294.1 MB, free: 21.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1433, allocations: 3.375 kB / 294.1 MB, free: 21.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.1437, allocations: 118.1 kB / 294.2 MB, free: 21.7 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.0001127/0.1438, allocations: 89.91 kB / 294.3 MB, free: 21.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.1442, allocations: 420.4 kB / 294.7 MB, free: 21.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.1442, allocations: 4.844 kB / 294.7 MB, free: 21.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.1445, allocations: 350.6 kB / 295.1 MB, free: 21.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1448, allocations: 56.16 kB / 295.1 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1462, allocations: 0.8438 MB / 296 MB, free: 20.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.1463, allocations: 120.2 kB / 296.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1464, allocations: 41.25 kB / 296.1 MB, free: 20.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.1466, allocations: 120.6 kB / 296.2 MB, free: 20.6 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1466, allocations: 0 / 296.2 MB, free: 20.6 MB / 266.7 MB Notification: Performance of Templates: time 0.009195/0.1558, allocations: 4.749 MB / 301 MB, free: 19.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.973419878166169]