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.00191/0.00191, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002277/0.002277, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.486/1.486, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.242e-06/1.242e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.577e-05, allocations: 9.266 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005595/0.00562, allocations: 3.706 MB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.007456, allocations: 0.9267 MB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.007645, allocations: 11.94 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.007874, allocations: 99.06 kB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.00825, allocations: 194.2 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.00865, allocations: 163.7 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.009435, allocations: 0.7041 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.009722, allocations: 139.7 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005507/0.01027, allocations: 395.1 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.01061, allocations: 211.3 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.011e-05/0.0107, allocations: 56 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.01082, allocations: 63.92 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01095, allocations: 135.4 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.01121, allocations: 215.4 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.01225, allocations: 0.6542 MB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01225, allocations: 4 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01225, allocations: 0 / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01226, allocations: 0 / 279.9 MB, free: 10.07 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.001498/0.01376, allocations: 0.8047 MB / 280.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01379, allocations: 11.98 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.01414, allocations: 120.5 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.01473, allocations: 329.2 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.01478, allocations: 45.36 kB / 281.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.01487, allocations: 52.38 kB / 281.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.01587, allocations: 0.6152 MB / 281.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01589, allocations: 192 / 281.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.01594, allocations: 24.38 kB / 281.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.01596, allocations: 15.94 kB / 281.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.01665, allocations: 332.5 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.01936, allocations: 1.457 MB / 283.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.01986, allocations: 253 kB / 283.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.02012, allocations: 141.9 kB / 284.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.02015, allocations: 4 kB / 284.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.02019, allocations: 42.55 kB / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/0.02019, allocations: 0 / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001992/0.02218, allocations: 0.8199 MB / 284.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.02225, allocations: 81.11 kB / 285 MB, free: 4.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.02273, allocations: 377.5 kB / 285.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.02276, allocations: 33.7 kB / 285.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.02301, allocations: 296.1 kB / 285.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.02312, allocations: 119 kB / 285.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.02325, allocations: 78.14 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.02346, allocations: 346.8 kB / 286.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.02369, allocations: 101 kB / 286.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.024, allocations: 191.2 kB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.02477, allocations: 321.9 kB / 286.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02477, allocations: 0 / 286.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009415/0.02572, allocations: 472.5 kB / 287.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.02573, allocations: 4 kB / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.02574, allocations: 4 kB / 287.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.02639, allocations: 113.7 kB / 287.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.02671, allocations: 75.91 kB / 287.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.02979, allocations: 2.871 MB / 290.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.03007, allocations: 15.95 kB / 290.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.0301, allocations: 19.98 kB / 290.4 MB, free: 14.97 MB / 282.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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.03034, allocations: 177.8 kB / 290.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.03045, allocations: 51.75 kB / 290.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.03053, allocations: 47.3 kB / 290.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.03054, allocations: 4 kB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.03054, allocations: 0 / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.03055, allocations: 3.984 kB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.03199, allocations: 0.7957 MB / 291.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03199, allocations: 0 / 291.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.0322, allocations: 47.97 kB / 291.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.03276, allocations: 113.5 kB / 291.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.03278, allocations: 4 kB / 291.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.03585, allocations: 2.871 MB / 294.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03586, allocations: 0 / 294.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.0369, allocations: 0.6186 MB / 295.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.03698, allocations: 39.73 kB / 295.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.03702, allocations: 8 kB / 295.2 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.03737, allocations: 27.97 kB / 295.2 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.03744, allocations: 28.14 kB / 295.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.03746, allocations: 15.94 kB / 295.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003142/0.03778, allocations: 267.2 kB / 295.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03778, allocations: 0 / 295.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.03838, allocations: 116 kB / 295.6 MB, free: 9.473 MB / 282.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.0001957/0.03858, allocations: 107.2 kB / 295.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.03963, allocations: 0.5057 MB / 296.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.03964, allocations: 0 / 296.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006584/0.0403, allocations: 377 kB / 296.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.0408, allocations: 61.83 kB / 296.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.04258, allocations: 0.8956 MB / 297.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.04284, allocations: 234.2 kB / 297.8 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.04301, allocations: 43.27 kB / 297.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.04309, allocations: 32.5 kB / 297.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.04309, allocations: 0 / 297.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of Templates: time 0.01038/0.05347, allocations: 4.492 MB / 302.3 MB, free: 2.684 MB / 282.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=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: 4.841172166052274]