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.0009619/0.0009619, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.0009338/0.0009338, allocations: 156.5 kB / 24.56 MB, free: 8 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 0.9817/0.9817, allocations: 177 MB / 204.8 MB, free: 5.57 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.2549/0.2549, allocations: 34.86 MB / 296.3 MB, free: 0.5234 MB / 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.393e-06/1.393e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.776e-05, allocations: 2.875 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002579/0.002597, allocations: 2.602 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.00354, allocations: 0.6619 MB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.003639, allocations: 7.938 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.004022, allocations: 39.64 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004132, allocations: 79.28 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.004396, allocations: 83.75 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.004637, allocations: 302.6 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.004773, allocations: 56.78 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.005007, allocations: 179.5 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.005121, allocations: 83.77 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.00515, allocations: 24 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.00521, allocations: 36 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.005245, allocations: 55.75 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.005311, allocations: 87.81 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005535, allocations: 195.2 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005538, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005539, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.005543, allocations: 0 / 383.2 MB, free: 13.62 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.0005529/0.006096, allocations: 0.5624 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.00613, allocations: 12.03 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.006257, allocations: 52.75 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.006471, allocations: 200.6 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.006485, allocations: 12.88 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.006517, allocations: 24.38 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.006761, allocations: 238.5 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.00677, allocations: 192 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.006788, allocations: 8.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.006797, allocations: 11.94 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.006912, allocations: 74.95 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.00767, allocations: 0.726 MB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.007793, allocations: 83.05 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.007838, allocations: 35.8 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.00785, allocations: 0 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.007875, allocations: 37.39 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007876, allocations: 0 / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009113/0.008787, allocations: 0.5352 MB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.008811, allocations: 55.41 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.008948, allocations: 253.5 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008962, allocations: 33.7 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.00904, allocations: 214.9 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.009071, allocations: 55.53 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.009122, allocations: 51.31 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.009229, allocations: 0.5 MB / 386.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.009277, allocations: 31.97 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.009355, allocations: 96.22 kB / 387.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.00948, allocations: 129.1 kB / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009481, allocations: 0 / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002582/0.009739, allocations: 224.7 kB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.009752, allocations: 7.938 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.009758, allocations: 4 kB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.009972, allocations: 91.33 kB / 387.5 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.01006, allocations: 35.91 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.01184, allocations: 3.642 MB / 391.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.0119, allocations: 12.2 kB / 391.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01192, allocations: 11.98 kB / 391.2 MB, free: 5 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 8.473e-05/0.012, allocations: 168.5 kB / 391.4 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.01203, allocations: 27.84 kB / 391.4 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.01205, allocations: 21.81 kB / 391.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01205, allocations: 3.938 kB / 391.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01206, allocations: 4 kB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01206, allocations: 3.984 kB / 391.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.01221, allocations: 192.6 kB / 391.6 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01221, allocations: 4 kB / 391.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.01224, allocations: 8 kB / 391.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.01241, allocations: 91.3 kB / 391.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01242, allocations: 12.12 kB / 391.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.01375, allocations: 3.642 MB / 395.4 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01375, allocations: 0 / 395.4 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.01403, allocations: 365 kB / 395.7 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01405, allocations: 19.91 kB / 395.8 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.01406, allocations: 0 / 395.8 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.01414, allocations: 16.17 kB / 395.8 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.01418, allocations: 19.97 kB / 395.8 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01419, allocations: 8 kB / 395.8 MB, free: 92 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.01428, allocations: 175.1 kB / 396 MB, free: 15.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01428, allocations: 4.031 kB / 396 MB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.0145, allocations: 63.94 kB / 396 MB, free: 15.85 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.065e-05/0.01457, allocations: 95.25 kB / 396.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.0151, allocations: 486.1 kB / 396.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0151, allocations: 320 / 396.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.01532, allocations: 419.2 kB / 397 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01552, allocations: 24.64 kB / 397 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.01634, allocations: 472.5 kB / 397.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.0164, allocations: 84.31 kB / 397.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.01645, allocations: 17.64 kB / 397.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.01648, allocations: 16.5 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01648, allocations: 0 / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of Templates: time 0.00434/0.02082, allocations: 2.807 MB / 400.4 MB, free: 11.36 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: 3.0833714930340648]