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.002351/0.002351, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002732/0.002732, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 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 1.562/1.562, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2337/0.2337, allocations: 32.37 MB / 270 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 179] 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.194e-06/2.194e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.07e-05/4.289e-05, allocations: 6.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003708/0.003751, allocations: 2.493 MB / 349.4 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.005109, allocations: 0.6242 MB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.005291, allocations: 4 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.005483, allocations: 47.58 kB / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.005643, allocations: 75.27 kB / 350.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.005973, allocations: 63.91 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.006317, allocations: 310.4 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.00655, allocations: 60.73 kB / 350.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.006848, allocations: 171.5 kB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.007036, allocations: 87.77 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.007089, allocations: 28 kB / 350.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.007139, allocations: 24 kB / 350.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.007205, allocations: 51.77 kB / 350.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.007322, allocations: 91.81 kB / 351 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.007694, allocations: 279.1 kB / 351.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.007702, allocations: 3.938 kB / 351.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.007706, allocations: 4 kB / 351.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.007717, allocations: 0 / 351.3 MB, free: 5.414 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.001058/0.008774, allocations: 0.5777 MB / 351.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.867e-05/0.008843, allocations: 8.031 kB / 351.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.00896, allocations: 52.73 kB / 351.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.009316, allocations: 188.2 kB / 352.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.009346, allocations: 12.88 kB / 352.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.009398, allocations: 28.31 kB / 352.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.009812, allocations: 261.8 kB / 352.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.009826, allocations: 192 / 352.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.009852, allocations: 12.38 kB / 352.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.009862, allocations: 11.94 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.01012, allocations: 129.9 kB / 352.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01143, allocations: 0.7884 MB / 353.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.01161, allocations: 95.03 kB / 353.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.01169, allocations: 43.67 kB / 353.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01171, allocations: 4 kB / 353.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.01173, allocations: 33.39 kB / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.01173, allocations: 0 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001524/0.01326, allocations: 0.6571 MB / 354.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01328, allocations: 59.34 kB / 354.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01346, allocations: 278.8 kB / 354.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.01348, allocations: 25.7 kB / 354.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.01357, allocations: 222.9 kB / 354.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.01361, allocations: 71.47 kB / 354.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.01368, allocations: 47.38 kB / 354.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.01378, allocations: 0.5079 MB / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.01389, allocations: 55.97 kB / 355.4 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01403, allocations: 118 kB / 355.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.01425, allocations: 197.4 kB / 355.7 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01426, allocations: 4 kB / 355.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004337/0.01469, allocations: 284.6 kB / 356 MB, free: 348 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01471, allocations: 11.88 kB / 356 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01472, allocations: 0 / 356 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.0151, allocations: 107.5 kB / 356.1 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.01525, allocations: 31.92 kB / 356.2 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.01895, allocations: 3.805 MB / 360 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01912, allocations: 11.98 kB / 360 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.01914, allocations: 8 kB / 360 MB, free: 12.11 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.0002289/0.01937, allocations: 180.6 kB / 360.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.01943, allocations: 19.91 kB / 360.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.01949, allocations: 25.8 kB / 360.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.0195, allocations: 7.938 kB / 360.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.01951, allocations: 0 / 360.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01951, allocations: 0 / 360.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.0199, allocations: 232.5 kB / 360.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0199, allocations: 192 / 360.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.02, allocations: 23.92 kB / 360.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.02038, allocations: 95.31 kB / 360.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.0204, allocations: 4 kB / 360.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.02432, allocations: 3.809 MB / 364.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02432, allocations: 0 / 364.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009765/0.0253, allocations: 449.8 kB / 364.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.02534, allocations: 11.91 kB / 364.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.02537, allocations: 8 kB / 364.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.02555, allocations: 20.05 kB / 364.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.02563, allocations: 15.97 kB / 364.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02565, allocations: 4 kB / 364.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.02588, allocations: 206.9 kB / 365.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02588, allocations: 0 / 365.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.0263, allocations: 67.94 kB / 365.2 MB, free: 6.629 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.0001941/0.0265, allocations: 99.23 kB / 365.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008752/0.02737, allocations: 0.5139 MB / 365.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02738, allocations: 0 / 365.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.02802, allocations: 451.5 kB / 366.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.0284, allocations: 27.97 kB / 366.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.02966, allocations: 492.9 kB / 366.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.02984, allocations: 142.1 kB / 366.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.02993, allocations: 17.64 kB / 366.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.02998, allocations: 16.5 kB / 366.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02998, allocations: 0 / 366.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Templates: time 0.008046/0.03803, allocations: 2.698 MB / 369.6 MB, free: 2.105 MB / 298.7 MB " [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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.542789587052539]