Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.000904/0.000904, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009212/0.0009212, allocations: 170 kB / 24.82 MB, free: 9.254 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.9184/0.9184, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.439e-05, allocations: 2.312 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002409/0.002423, allocations: 2.576 MB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.003243, allocations: 0.6581 MB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.00334, allocations: 4 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003466, allocations: 43.58 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.003608, allocations: 83.27 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.00384, allocations: 79.75 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.004058, allocations: 302.5 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004185, allocations: 60.78 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004371, allocations: 179.6 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004475, allocations: 83.77 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.004503, allocations: 27.94 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.004554, allocations: 28 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.004582, allocations: 47.83 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.004775, allocations: 99.75 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.004957, allocations: 191.3 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.004958, allocations: 0 / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004959, allocations: 0 / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.004962, allocations: 0 / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0004397/0.005401, allocations: 0.5662 MB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.00543, allocations: 8.031 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.00553, allocations: 56.75 kB / 384.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005685, allocations: 196.7 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.005697, allocations: 16.88 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.00572, allocations: 20.38 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.005884, allocations: 226.4 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.005891, allocations: 192 / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.005904, allocations: 12.38 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.005911, allocations: 7.938 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.005978, allocations: 55.45 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.00672, allocations: 0.6836 MB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.0068, allocations: 86.91 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.006828, allocations: 31.67 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.006837, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.006855, allocations: 45.31 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.006856, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006736/0.00753, allocations: 496.4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.00755, allocations: 59.34 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007663, allocations: 250.1 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.007675, allocations: 25.7 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.007749, allocations: 222.9 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.007776, allocations: 59.47 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.007824, allocations: 51.34 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.007924, allocations: 0.5001 MB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.007953, allocations: 19.98 kB / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.008009, allocations: 92.25 kB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.008098, allocations: 117.2 kB / 387.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0081, allocations: 7.938 kB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002056/0.008305, allocations: 204.7 kB / 387.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.008316, allocations: 8 kB / 387.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.00832, allocations: 3.938 kB / 387.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.008486, allocations: 95.28 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.008555, allocations: 32.02 kB / 387.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.0101, allocations: 3.581 MB / 391.4 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.01016, allocations: 15.94 kB / 391.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01017, allocations: 12 kB / 391.4 MB, free: 4.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/0.01024, allocations: 164.6 kB / 391.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.01027, allocations: 19.91 kB / 391.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.01029, allocations: 25.8 kB / 391.6 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01029, allocations: 4 kB / 391.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01029, allocations: 0 / 391.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01029, allocations: 0 / 391.6 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.01042, allocations: 169.1 kB / 391.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01043, allocations: 3.984 kB / 391.8 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.01046, allocations: 19.94 kB / 391.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.0106, allocations: 83.3 kB / 391.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01061, allocations: 4 kB / 391.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.01184, allocations: 3.589 MB / 395.5 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01184, allocations: 0 / 395.5 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.01242, allocations: 342.9 kB / 395.8 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.01244, allocations: 19.91 kB / 395.9 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.01245, allocations: 3.938 kB / 395.9 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.01253, allocations: 15.98 kB / 395.9 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.01256, allocations: 19.97 kB / 395.9 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.01257, allocations: 0 / 395.9 MB, free: 232 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.53e-05/0.01263, allocations: 176.4 kB / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01263, allocations: 0 / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01285, allocations: 60.05 kB / 396.1 MB, free: 15.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.187e-05/0.01292, allocations: 107.2 kB / 396.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.01325, allocations: 464.6 kB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01325, allocations: 0 / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.01347, allocations: 423.5 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01365, allocations: 19.98 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.01438, allocations: 474.4 kB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01442, allocations: 84.31 kB / 397.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.01447, allocations: 13.64 kB / 397.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.01456, allocations: 98.19 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01456, allocations: 0 / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of Templates: time 0.004284/0.01884, allocations: 2.882 MB / 400.7 MB, free: 11.37 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.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.8110857978463173]