Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 76.06 kB / 20.72 MB, free: 3.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 173 kB / 24.14 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9499/0.9499, allocations: 158.6 MB / 186 MB, free: 2.363 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1411/0.1411, allocations: 32.38 MB / 270.7 MB, free: 14.58 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 317.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.723e-05, allocations: 2.875 kB / 317.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00226/0.002277, allocations: 2.56 MB / 320.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.003124, allocations: 0.6572 MB / 321 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.003185, allocations: 4.531 kB / 321 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.003235, allocations: 44.23 kB / 321 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.003321, allocations: 79.02 kB / 321.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.454e-05/0.003406, allocations: 63.06 kB / 321.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.003582, allocations: 302.3 kB / 321.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.003649, allocations: 70.17 kB / 321.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.003799, allocations: 173.4 kB / 321.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.003883, allocations: 88.55 kB / 321.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.003909, allocations: 22.72 kB / 321.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.003934, allocations: 22.06 kB / 321.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.003958, allocations: 55.77 kB / 321.9 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.004011, allocations: 91.67 kB / 322 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.004133, allocations: 182 kB / 322.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.32e-07/0.004134, allocations: 0 / 322.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.004135, allocations: 0 / 322.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.225e-06/0.004137, allocations: 1.375 kB / 322.2 MB, free: 5.371 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.0002744/0.004411, allocations: 457.9 kB / 322.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.648e-05/0.004428, allocations: 8.875 kB / 322.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.004464, allocations: 33.84 kB / 322.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.004568, allocations: 180.3 kB / 322.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.00458, allocations: 12.69 kB / 322.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.004603, allocations: 22.97 kB / 322.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004736, allocations: 230.6 kB / 323.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-06/0.00474, allocations: 4 kB / 323.1 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.004749, allocations: 6.438 kB / 323.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.004753, allocations: 4.688 kB / 323.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.00482, allocations: 51.03 kB / 323.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.005328, allocations: 0.5627 MB / 323.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.00539, allocations: 70.67 kB / 323.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.005416, allocations: 26.25 kB / 323.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.005422, allocations: 1.125 kB / 323.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.856e-06/0.005431, allocations: 33.38 kB / 323.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.52e-07/0.005431, allocations: 0 / 323.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007807/0.006212, allocations: 0.5301 MB / 324.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-06/0.006221, allocations: 58.44 kB / 324.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.006287, allocations: 184.8 kB / 324.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.006295, allocations: 32.8 kB / 324.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.00633, allocations: 160.2 kB / 324.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.006352, allocations: 62.38 kB / 324.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.006395, allocations: 40.34 kB / 324.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.006428, allocations: 331 kB / 325.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.006456, allocations: 23.36 kB / 325.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.006501, allocations: 68.75 kB / 325.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.006577, allocations: 103.9 kB / 325.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006578, allocations: 0 / 325.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001585/0.006736, allocations: 179.7 kB / 325.6 MB, free: 2.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-06/0.006743, allocations: 7.938 kB / 325.6 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-06/0.006745, allocations: 2 kB / 325.6 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.006888, allocations: 77.81 kB / 325.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.006954, allocations: 30.45 kB / 325.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.007718, allocations: 2.463 MB / 328.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.007779, allocations: 12 kB / 328.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007787, allocations: 4 kB / 328.2 MB, free: 15.98 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 7.093e-05/0.007858, allocations: 129.7 kB / 328.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.007889, allocations: 19.92 kB / 328.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.007909, allocations: 25.8 kB / 328.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.007912, allocations: 4 kB / 328.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.007917, allocations: 0 / 328.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.007919, allocations: 0 / 328.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.00806, allocations: 137.8 kB / 328.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008061, allocations: 0 / 328.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.0081, allocations: 15.98 kB / 328.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.008242, allocations: 77.58 kB / 328.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.008249, allocations: 8 kB / 328.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.009429, allocations: 2.463 MB / 331.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009431, allocations: 0 / 331.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.009646, allocations: 259.8 kB / 331.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.009662, allocations: 15.89 kB / 331.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.009676, allocations: 8 kB / 331.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.00975, allocations: 12 kB / 331.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.009787, allocations: 15.95 kB / 331.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.009797, allocations: 8.188 kB / 331.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.009836, allocations: 44.81 kB / 331.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009836, allocations: 4.031 kB / 331.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.01005, allocations: 64 kB / 331.5 MB, free: 12.45 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 9.254e-05/0.01014, allocations: 84.36 kB / 331.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.0105, allocations: 343.2 kB / 331.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.01051, allocations: 320 / 331.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.01072, allocations: 305.9 kB / 332.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.0109, allocations: 28.58 kB / 332.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.01177, allocations: 479.5 kB / 332.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.01184, allocations: 92.19 kB / 332.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.01189, allocations: 13.66 kB / 332.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.01199, allocations: 79.34 kB / 332.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01199, allocations: 0 / 332.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of Templates: time 0.005346/0.01733, allocations: 2.829 MB / 335.7 MB, free: 8.152 MB / 298.7 MB Notification: Evaluated the parameters basicTransformer.L1, basicTransformer.M, basicTransformer.L2, since an equation would be solved by dividing by zero otherwise. Changing them requires recompiling the model. " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.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.1229675207287073]