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.001387/0.001387, allocations: 93.14 kB / 20.69 MB, free: 1.016 MB / 14.72 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.001541/0.001541, allocations: 162.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.482/1.482, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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.342e-06/1.342e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.138e-05, allocations: 4.812 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004944/0.004966, allocations: 3.714 MB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.006826, allocations: 0.9305 MB / 329.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.007029, allocations: 17.03 kB / 329.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.00726, allocations: 93.42 kB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.007638, allocations: 192.5 kB / 330 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.008076, allocations: 169.4 kB / 330.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.00887, allocations: 0.7016 MB / 330.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.009156, allocations: 136.3 kB / 331 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.0097, allocations: 404.1 kB / 331.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.01003, allocations: 209.7 kB / 331.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.01012, allocations: 54.72 kB / 331.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.01026, allocations: 57.22 kB / 331.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.0104, allocations: 137.7 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.01065, allocations: 212.4 kB / 332 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.0114, allocations: 0.6565 MB / 332.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.0114, allocations: 1.469 kB / 332.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0114, allocations: 0 / 332.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01141, allocations: 0 / 332.7 MB, free: 11.5 MB / 302.1 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.001525/0.01294, allocations: 0.8108 MB / 333.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.01297, allocations: 12.7 kB / 333.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.01327, allocations: 84.88 kB / 333.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.01384, allocations: 321 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.01388, allocations: 37.22 kB / 334 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.01396, allocations: 48.72 kB / 334 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.01489, allocations: 0.6303 MB / 334.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.0149, allocations: 192 / 334.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.01495, allocations: 21.62 kB / 334.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.01497, allocations: 18.75 kB / 334.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.01562, allocations: 329.3 kB / 335 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.01825, allocations: 1.449 MB / 336.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.01872, allocations: 253.7 kB / 336.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.01897, allocations: 135.2 kB / 336.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.01899, allocations: 4.531 kB / 336.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.01903, allocations: 37.84 kB / 336.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.522e-06/0.01903, allocations: 0 / 336.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001938/0.02097, allocations: 0.8157 MB / 337.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.02103, allocations: 81.45 kB / 337.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.0215, allocations: 378.7 kB / 338.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.02153, allocations: 32.08 kB / 338.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.02177, allocations: 298.5 kB / 338.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.02187, allocations: 116.3 kB / 338.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02199, allocations: 74.11 kB / 338.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.02218, allocations: 350.5 kB / 339 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.02242, allocations: 102.7 kB / 339.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.02273, allocations: 199.2 kB / 339.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.02328, allocations: 309.2 kB / 339.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02328, allocations: 0 / 339.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009121/0.02419, allocations: 446.7 kB / 340 MB, free: 5.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.02421, allocations: 7.125 kB / 340 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.02423, allocations: 4 kB / 340 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.02459, allocations: 81.81 kB / 340.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.02493, allocations: 83.83 kB / 340.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.02779, allocations: 2.867 MB / 343.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.02808, allocations: 27.88 kB / 343.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.0281, allocations: 16 kB / 343.1 MB, free: 2.371 MB / 302.1 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.0002159/0.02832, allocations: 161.7 kB / 343.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.02842, allocations: 39.77 kB / 343.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.0285, allocations: 47.3 kB / 343.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0285, allocations: 8.062 kB / 343.3 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.02851, allocations: 0 / 343.3 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.02851, allocations: 3.984 kB / 343.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.0299, allocations: 0.7995 MB / 344.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02991, allocations: 0 / 344.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.03011, allocations: 55.84 kB / 344.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.03039, allocations: 77.64 kB / 344.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.03041, allocations: 4 kB / 344.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.03331, allocations: 2.867 MB / 347.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03331, allocations: 0 / 347.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.03438, allocations: 0.6108 MB / 347.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.03448, allocations: 39.73 kB / 347.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.03453, allocations: 7.984 kB / 347.8 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.03488, allocations: 31.98 kB / 347.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.03497, allocations: 20.14 kB / 347.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.035, allocations: 19.98 kB / 347.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.03533, allocations: 263.2 kB / 348.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03533, allocations: 0 / 348.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.036, allocations: 120 kB / 348.3 MB, free: 12.93 MB / 318.1 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.0001807/0.03619, allocations: 103.2 kB / 348.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.0372, allocations: 0.4968 MB / 348.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.0372, allocations: 3.938 kB / 348.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.03784, allocations: 384.4 kB / 349.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.03834, allocations: 57.73 kB / 349.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.04013, allocations: 0.8758 MB / 350.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.04039, allocations: 234.2 kB / 350.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.04054, allocations: 47.27 kB / 350.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.04064, allocations: 28.5 kB / 350.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.04064, allocations: 0 / 350.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01053/0.05117, allocations: 4.449 MB / 354.9 MB, free: 6.223 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.029857538640499]