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.001431/0.001431, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001659/0.001659, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.002017/0.002017, allocations: 67.89 kB / 373.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1114, allocations: 53.31 MB / 427.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00604/0.1174, allocations: 4.135 MB / 431.3 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2482/0.3656, allocations: 0.9527 MB / 432.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.366, allocations: 13.34 kB / 432.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3662, allocations: 91.34 kB / 432.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.3666, allocations: 190 kB / 432.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3671, allocations: 159.2 kB / 432.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006848/0.3678, allocations: 0.6756 MB / 433.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.368, allocations: 144.8 kB / 433.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.3684, allocations: 269.3 kB / 433.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.3687, allocations: 286.6 kB / 434.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.3688, allocations: 58.84 kB / 434.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3689, allocations: 56.06 kB / 434.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.369, allocations: 135.4 kB / 434.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.3692, allocations: 305.5 kB / 434.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.3699, allocations: 0.6465 MB / 435.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3699, allocations: 0 / 435.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3699, allocations: 0 / 435.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.3699, allocations: 4.281 kB / 435.3 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.001542/0.3715, allocations: 0.8836 MB / 436.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3715, allocations: 9.312 kB / 436.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.3718, allocations: 87.5 kB / 436.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.3725, allocations: 376.3 kB / 436.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.3725, allocations: 37.34 kB / 436.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.3726, allocations: 56.77 kB / 436.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.3736, allocations: 491.9 kB / 437.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3736, allocations: 1.156 kB / 437.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.3736, allocations: 21.5 kB / 437.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3737, allocations: 12.06 kB / 437.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.3744, allocations: 330.2 kB / 437.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.3772, allocations: 1.689 MB / 439.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.3777, allocations: 252.4 kB / 439.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.3779, allocations: 125.9 kB / 439.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.378, allocations: 11.38 kB / 439.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.378, allocations: 35.14 kB / 439.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.378, allocations: 0 / 439.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001967/0.38, allocations: 0.9678 MB / 440.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.38, allocations: 81.59 kB / 440.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.3806, allocations: 394.3 kB / 441.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3806, allocations: 31.83 kB / 441.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3808, allocations: 295.9 kB / 441.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.3809, allocations: 118 kB / 441.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.381, allocations: 71.58 kB / 441.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3811, allocations: 356.8 kB / 441.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.3814, allocations: 99.44 kB / 442 MB, free: 3.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.3817, allocations: 193.6 kB / 442.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.3821, allocations: 306.7 kB / 442.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3821, allocations: 1.344 kB / 442.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009243/0.3831, allocations: 451.6 kB / 443 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3831, allocations: 6.469 kB / 443 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3831, allocations: 7.703 kB / 443 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.3835, allocations: 81.27 kB / 443.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3839, allocations: 82.66 kB / 443.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.3861, allocations: 3.133 MB / 446.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.3865, allocations: 21.08 kB / 446.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3865, allocations: 16.66 kB / 446.3 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.0002829/0.3868, allocations: 159.4 kB / 446.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3869, allocations: 42.98 kB / 446.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.387, allocations: 49.84 kB / 446.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.387, allocations: 3.594 kB / 446.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.387, allocations: 7.156 kB / 446.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.387, allocations: 2.062 kB / 446.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3888, allocations: 0.9329 MB / 447.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3888, allocations: 1.797 kB / 447.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.389, allocations: 45.88 kB / 447.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.3893, allocations: 82.7 kB / 447.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3894, allocations: 7.688 kB / 447.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.3923, allocations: 3.132 MB / 450.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3923, allocations: 1.156 kB / 450.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3935, allocations: 0.6164 MB / 451.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3937, allocations: 122.6 kB / 451.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3937, allocations: 11.7 kB / 451.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.3941, allocations: 30.39 kB / 451.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.3942, allocations: 24.7 kB / 451.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3942, allocations: 13.98 kB / 451.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004006/0.3946, allocations: 273.5 kB / 451.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 0 / 451.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007451/0.3954, allocations: 116.2 kB / 452 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.0001967/0.3956, allocations: 122.8 kB / 452.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3967, allocations: 495.3 kB / 452.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3967, allocations: 1.875 kB / 452.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.3973, allocations: 383 kB / 452.9 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.0005609/0.3979, allocations: 60.59 kB / 453 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3999, allocations: 0.9817 MB / 454 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.4004, allocations: 0.8372 MB / 454.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.4006, allocations: 50.12 kB / 454.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.4007, allocations: 31 kB / 454.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4007, allocations: 0 / 454.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of Templates: time 0.01363/0.4143, allocations: 4.822 MB / 459.7 MB, free: 8.18 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/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.422114131040871]