Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001176/0.001176, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001274/0.001274, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9317/0.9317, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.192e-05, allocations: 6.25 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.009816/0.009848, allocations: 2.592 MB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.01119, allocations: 0.6581 MB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.01137, allocations: 4 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.01153, allocations: 39.58 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.01168, allocations: 79.27 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.01203, allocations: 83.77 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.01234, allocations: 302.5 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.01251, allocations: 64.78 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.01281, allocations: 167.7 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.01294, allocations: 91.77 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.01599, allocations: 24 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.01617, allocations: 27.98 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.01622, allocations: 59.75 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.01632, allocations: 83.83 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.01673, allocations: 207.2 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01674, allocations: 4 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01674, allocations: 0 / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.01675, allocations: 4 kB / 380.5 MB, free: 204 kB / 346.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.0007003/0.01745, allocations: 0.5624 MB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.01749, allocations: 8.031 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.01767, allocations: 56.73 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.01796, allocations: 200.7 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.01798, allocations: 16.88 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.01802, allocations: 24.38 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.01833, allocations: 238.5 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01834, allocations: 4.125 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.01837, allocations: 8.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.01838, allocations: 11.94 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.01854, allocations: 74.94 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.0227, allocations: 0.7338 MB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.0229, allocations: 98.97 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.02297, allocations: 39.83 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.02299, allocations: 8 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.02301, allocations: 37.39 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.02301, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00049/0.0235, allocations: 165.1 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.02353, allocations: 51.41 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.0237, allocations: 246.8 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.02372, allocations: 29.7 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.02382, allocations: 214.9 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.02385, allocations: 43.64 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.02391, allocations: 47.33 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.02404, allocations: 0.5039 MB / 383.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.0241, allocations: 19.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.02418, allocations: 77.23 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.02437, allocations: 125.7 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02437, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002752/0.02465, allocations: 174.8 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.02467, allocations: 8 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.02468, allocations: 0 / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/0.02696, allocations: 35.59 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.02711, allocations: 31.98 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.02824, allocations: 1.752 MB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.02837, allocations: 15.89 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.02838, allocations: 11.98 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.02858, allocations: 176.6 kB / 386.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.02863, allocations: 19.91 kB / 386.3 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.02865, allocations: 21.47 kB / 386.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.02866, allocations: 3.984 kB / 386.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.02866, allocations: 3.938 kB / 386.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.02867, allocations: 4 kB / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.02895, allocations: 192.5 kB / 386.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02895, allocations: 0 / 386.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.02903, allocations: 15.98 kB / 386.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.02917, allocations: 39.64 kB / 386.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.02919, allocations: 7.938 kB / 386.6 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.03028, allocations: 1.736 MB / 388.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.03028, allocations: 0 / 388.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.03064, allocations: 311.4 kB / 388.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.0323, allocations: 15.89 kB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.03234, allocations: 8 kB / 388.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.03247, allocations: 11.98 kB / 388.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.03254, allocations: 7.984 kB / 388.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.03255, allocations: 4 kB / 388.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.03268, allocations: 175.2 kB / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03268, allocations: 0 / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.03294, allocations: 67.86 kB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (basicTransformer.i1,basicTransformer.i2) * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.03306, allocations: 103.2 kB / 389 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.03354, allocations: 266.8 kB / 389.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03354, allocations: 0 / 389.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.03371, allocations: 226 kB / 389.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.03394, allocations: 32.17 kB / 389.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.03485, allocations: 482.7 kB / 390 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.0349, allocations: 79.97 kB / 390.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.03495, allocations: 13.48 kB / 390.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.03498, allocations: 16.5 kB / 390.1 MB, free: 5.859 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03498, allocations: 0 / 390.1 MB, free: 5.859 MB / 362.7 MB Notification: Performance of Templates: time 0.004155/0.03914, allocations: 2.055 MB / 392.1 MB, free: 3.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.093184631783515]