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.001152/0.001152, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001973/0.003126, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001113/0.001113, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002291, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9898/0.9898, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08026/1.07, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2442/0.2442, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.2677, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.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.733e-06/1.733e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.675e-05, allocations: 2.969 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004711/0.004738, allocations: 2.635 MB / 296.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.006266, allocations: 0.6747 MB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.006411, allocations: 4 kB / 297.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.00654, allocations: 47.56 kB / 297.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.006726, allocations: 75.28 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.007019, allocations: 87.69 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.007396, allocations: 298.6 kB / 297.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.007572, allocations: 70.72 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.007968, allocations: 184.4 kB / 298.1 MB, free: 1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.008157, allocations: 87.7 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.008199, allocations: 20 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.008306, allocations: 31.94 kB / 298.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.008352, allocations: 39.88 kB / 298.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.008442, allocations: 75.81 kB / 298.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.008768, allocations: 179.4 kB / 298.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.008783, allocations: 0 / 298.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008785, allocations: 4 kB / 298.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.008799, allocations: 0 / 298.6 MB, free: 0.5703 MB / 282.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.0008444/0.009644, allocations: 0.4892 MB / 299.1 MB, free: 60 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.009686, allocations: 16.92 kB / 299.1 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.009946, allocations: 122 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01024, allocations: 165.9 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.01026, allocations: 16.88 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.01031, allocations: 20.38 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.01062, allocations: 234.2 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01063, allocations: 7.875 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.01065, allocations: 8 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01066, allocations: 12 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01078, allocations: 47.47 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.01175, allocations: 0.5632 MB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.01188, allocations: 66.48 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.01192, allocations: 16.86 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.01194, allocations: 4 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.01197, allocations: 34.56 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.01197, allocations: 0 / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001425/0.0134, allocations: 0.5486 MB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.01343, allocations: 55.41 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.01358, allocations: 186.9 kB / 301.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.0136, allocations: 29.7 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.0137, allocations: 168.1 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01374, allocations: 59.47 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.01382, allocations: 45.64 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01392, allocations: 326.8 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.01397, allocations: 19.98 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.01404, allocations: 69.11 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.01418, allocations: 109 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01419, allocations: 0 / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003064/0.01449, allocations: 177 kB / 302.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01451, allocations: 8.156 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01452, allocations: 4 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.0148, allocations: 81.59 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.01494, allocations: 31.98 kB / 302.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.01672, allocations: 2.461 MB / 304.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01682, allocations: 15.92 kB / 304.7 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01683, allocations: 4.062 kB / 304.7 MB, free: 9.922 MB / 298.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 0.0001045/0.01694, allocations: 125.8 kB / 304.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.01698, allocations: 15.98 kB / 304.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.01702, allocations: 25.8 kB / 304.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01702, allocations: 0 / 304.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.01703, allocations: 4 kB / 304.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01703, allocations: 7.875 kB / 304.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.01724, allocations: 125.8 kB / 305 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01724, allocations: 4.188 kB / 305 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.01732, allocations: 23.98 kB / 305.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.01734, allocations: 15.86 kB / 305.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.01758, allocations: 81.62 kB / 305.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01759, allocations: 7.938 kB / 305.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.01924, allocations: 2.463 MB / 307.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01924, allocations: 0 / 307.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.01957, allocations: 257 kB / 307.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.0196, allocations: 15.92 kB / 307.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.01973, allocations: 12 kB / 307.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.01978, allocations: 11.97 kB / 307.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.0198, allocations: 11.98 kB / 307.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.01987, allocations: 52.55 kB / 308 MB, free: 6.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01987, allocations: 4 kB / 308 MB, free: 6.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.02024, allocations: 64 kB / 308.1 MB, free: 6.375 MB / 298.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 0.0001221/0.02036, allocations: 80.45 kB / 308.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.02082, allocations: 348.9 kB / 308.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.02083, allocations: 7.984 kB / 308.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.02116, allocations: 304.3 kB / 308.8 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.02155, allocations: 214.2 kB / 309 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.02536, allocations: 494.7 kB / 309.5 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.02544, allocations: 84.31 kB / 309.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.966e-05/0.02554, allocations: 21.62 kB / 309.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.02567, allocations: 75.36 kB / 309.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of SimCode: time 1.924e-06/0.02567, allocations: 0 / 309.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of Templates: time 0.006111/0.03178, allocations: 2.958 MB / 312.6 MB, free: 1.727 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7460143379867077]