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.0009944/0.0009944, 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.001502/0.001502, allocations: 160.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.9321/0.9321, allocations: 177 MB / 204.8 MB, free: 5.566 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.248/0.248, allocations: 34.86 MB / 296.3 MB, free: 496 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.262e-06/1.262e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.378e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002401/0.002415, allocations: 2.598 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.003188, allocations: 0.6581 MB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.003279, allocations: 7.938 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.003392, allocations: 39.64 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.003488, allocations: 79.27 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.003728, allocations: 87.7 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.00395, allocations: 306.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.004083, allocations: 52.8 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.004272, allocations: 179.6 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004381, allocations: 91.7 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.004408, allocations: 24 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.004462, allocations: 28 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.004493, allocations: 51.81 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.004559, allocations: 91.77 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.004763, allocations: 195.3 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004766, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004766, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.00477, 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.000525/0.005295, allocations: 0.5624 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.005329, allocations: 8.031 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.005448, allocations: 52.73 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.005641, allocations: 200.6 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005654, allocations: 12.88 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.005686, allocations: 24.38 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.005916, allocations: 238.5 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005923, allocations: 192 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.00594, allocations: 12.38 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.005951, allocations: 7.938 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.006067, allocations: 78.88 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.006794, allocations: 0.7299 MB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.006907, allocations: 83.03 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.006948, allocations: 27.69 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.006963, allocations: 192 / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.006985, allocations: 49.31 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.21e-07/0.006986, allocations: 0 / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008788/0.007865, allocations: 0.5274 MB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.007889, allocations: 59.34 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.008023, allocations: 249.6 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.008037, allocations: 29.7 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.008115, allocations: 222.9 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.008143, allocations: 55.53 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.008191, allocations: 47.31 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.008293, allocations: 0.504 MB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.741e-05/0.008341, allocations: 27.98 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.008415, allocations: 94.03 kB / 387.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.008538, allocations: 126 kB / 387.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008539, allocations: 0 / 387.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002504/0.00879, allocations: 231.7 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.008801, allocations: 7.938 kB / 387.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.008807, allocations: 4 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.009024, allocations: 91.45 kB / 387.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.009112, allocations: 31.92 kB / 387.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.01074, allocations: 3.65 MB / 391.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.0108, allocations: 4 kB / 391.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01081, allocations: 12 kB / 391.2 MB, free: 4.996 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.361e-05/0.0109, allocations: 160.6 kB / 391.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.01093, allocations: 27.86 kB / 391.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.01095, allocations: 29.73 kB / 391.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01095, allocations: 3.938 kB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01095, allocations: 4 kB / 391.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01096, allocations: 4.031 kB / 391.4 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.0111, allocations: 192.5 kB / 391.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0111, allocations: 4 kB / 391.6 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.01114, allocations: 15.92 kB / 391.6 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.01131, allocations: 91.31 kB / 391.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01132, allocations: 12.11 kB / 391.7 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.01264, allocations: 3.634 MB / 395.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01264, allocations: 4.062 kB / 395.4 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.01292, allocations: 357.1 kB / 395.7 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.01294, allocations: 15.91 kB / 395.7 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.01295, allocations: 7.938 kB / 395.8 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.01303, allocations: 16.17 kB / 395.8 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.01307, allocations: 19.97 kB / 395.8 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.01308, allocations: 11.98 kB / 395.8 MB, free: 84 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.01317, allocations: 175.2 kB / 396 MB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01317, allocations: 0 / 396 MB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.01338, allocations: 67.94 kB / 396 MB, free: 15.84 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 6.528e-05/0.01344, allocations: 95.25 kB / 396.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.01382, allocations: 470.4 kB / 396.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01382, allocations: 4.125 kB / 396.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.01404, allocations: 423.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.0001993/0.01424, allocations: 23.98 kB / 397 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.01502, 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 4.544e-05/0.01507, allocations: 88.31 kB / 397.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.01511, allocations: 13.64 kB / 397.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.01515, allocations: 16.5 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01515, allocations: 0 / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004194/0.01934, allocations: 2.726 MB / 400.3 MB, free: 11.45 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.2139498461037874]