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.001537/0.001537, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.00161/0.00161, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.494/1.494, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.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 0.00195/0.00195, allocations: 71.88 kB / 374.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 53.32 MB / 427.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005548/0.1146, allocations: 4.135 MB / 432 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.319, allocations: 0.9527 MB / 433 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.3192, allocations: 10.69 kB / 433 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.3194, allocations: 92.22 kB / 433.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3198, allocations: 190.4 kB / 433.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.3202, allocations: 161.3 kB / 433.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.3208, allocations: 0.6711 MB / 434.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.321, allocations: 148.1 kB / 434.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.3213, allocations: 267.7 kB / 434.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.3216, allocations: 288.2 kB / 434.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.3217, allocations: 55.06 kB / 434.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3218, allocations: 63.88 kB / 434.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.3218, allocations: 131 kB / 435 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.322, allocations: 301.3 kB / 435.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.3226, allocations: 0.6546 MB / 436 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3226, allocations: 1 kB / 436 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3226, allocations: 0 / 436 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3226, allocations: 3.188 kB / 436 MB, free: 7.543 MB / 350.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.001353/0.324, allocations: 0.8802 MB / 436.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.324, allocations: 9.641 kB / 436.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.3243, allocations: 87.92 kB / 436.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.3248, allocations: 377.7 kB / 437.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.3248, allocations: 40.97 kB / 437.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.3249, allocations: 52.03 kB / 437.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.3256, allocations: 486.2 kB / 437.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3256, allocations: 1.906 kB / 437.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.3257, allocations: 21.59 kB / 437.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3257, allocations: 11.47 kB / 437.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.3263, allocations: 331.8 kB / 438.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3286, allocations: 1.691 MB / 439.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.329, allocations: 247.6 kB / 440.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3292, allocations: 136 kB / 440.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3293, allocations: 6.25 kB / 440.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3293, allocations: 38.39 kB / 440.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.3293, allocations: 0 / 440.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00176/0.331, allocations: 0.9661 MB / 441.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3311, allocations: 81.98 kB / 441.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3315, allocations: 390.1 kB / 441.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3315, allocations: 31.98 kB / 441.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3316, allocations: 294.5 kB / 442.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.3317, allocations: 124.3 kB / 442.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3318, allocations: 75.88 kB / 442.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.3319, allocations: 352.9 kB / 442.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3321, allocations: 100.3 kB / 442.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.3323, allocations: 192.6 kB / 442.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.3327, allocations: 309.6 kB / 443.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3327, allocations: 1.156 kB / 443.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007902/0.3335, allocations: 446 kB / 443.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3335, allocations: 6.875 kB / 443.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3335, allocations: 11.19 kB / 443.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.3339, allocations: 77.44 kB / 443.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.3343, allocations: 82.11 kB / 443.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.3363, allocations: 3.133 MB / 447 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.3367, allocations: 25.42 kB / 447 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3367, allocations: 12.53 kB / 447 MB, free: 15.74 MB / 366.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.0002208/0.3369, allocations: 162.7 kB / 447.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.337, allocations: 42.45 kB / 447.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/0.3371, allocations: 50.09 kB / 447.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3371, allocations: 3.5 kB / 447.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3371, allocations: 7.219 kB / 447.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3371, allocations: 2.531 kB / 447.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.3387, allocations: 0.9346 MB / 448.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3387, allocations: 0 / 448.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3388, allocations: 48.89 kB / 448.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.3391, allocations: 79.3 kB / 448.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3391, allocations: 7.609 kB / 448.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3419, allocations: 3.132 MB / 451.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3419, allocations: 0 / 451.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3429, allocations: 0.6167 MB / 452.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.3431, allocations: 120.1 kB / 452.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.3432, allocations: 11 kB / 452.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.3435, allocations: 30.75 kB / 452.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.3436, allocations: 24.89 kB / 452.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3436, allocations: 8.5 kB / 452.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.344, allocations: 277.1 kB / 452.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.344, allocations: 1.125 kB / 452.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007044/0.3447, allocations: 115.7 kB / 452.6 MB, free: 11.14 MB / 366.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.0001872/0.3449, allocations: 115.3 kB / 452.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3459, allocations: 0.4931 MB / 453.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3459, allocations: 0.8438 kB / 453.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.3466, allocations: 384.9 kB / 453.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.3472, allocations: 63.11 kB / 453.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3492, allocations: 1.007 MB / 454.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.3498, allocations: 0.8405 MB / 455.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.3499, allocations: 33.05 kB / 455.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3499, allocations: 3.938 kB / 455.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Templates: time 0.01359/0.3635, allocations: 9.024 MB / 464.6 MB, free: 5.703 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.400291202997323]