Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.002095/0.002095, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002384/0.002384, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.369/0.369, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.344e-05, allocations: 2.312 kB / 377.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004999/0.005032, allocations: 2.437 MB / 379.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.007163, allocations: 0.6426 MB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.007505, allocations: 7.938 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.007747, allocations: 39.64 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.008059, allocations: 79.28 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.008474, allocations: 79.81 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.00903, allocations: 302.4 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.009244, allocations: 64.72 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.009697, allocations: 175.6 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.009921, allocations: 87.7 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.009981, allocations: 24 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.01008, allocations: 28 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.01014, allocations: 59.73 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.01027, allocations: 91.83 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.01084, allocations: 299 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01084, allocations: 0 / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01084, allocations: 7.938 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.01085, allocations: 0 / 381.6 MB, free: 14.57 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.00105/0.01191, allocations: 473.6 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.01196, allocations: 12.03 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.01222, allocations: 56.73 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.01271, allocations: 201.8 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.01273, allocations: 16.88 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.01279, allocations: 20.38 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.01329, allocations: 269.8 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.0133, allocations: 8.172 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.01334, allocations: 8.375 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.01335, allocations: 11.94 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.01371, allocations: 149.9 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.01524, allocations: 0.6955 MB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.01551, allocations: 102.5 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.01565, allocations: 56.83 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.01567, allocations: 0 / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.01572, allocations: 34.56 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.01572, allocations: 0 / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007845/0.0165, allocations: 218.4 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.01657, allocations: 51.41 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.01683, allocations: 194.8 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.01687, allocations: 29.7 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.01702, allocations: 164.2 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.01708, allocations: 51.58 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.01717, allocations: 41.66 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01735, allocations: 322.8 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.01748, allocations: 47.97 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.01763, allocations: 84.22 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.01828, allocations: 237.5 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.01829, allocations: 4 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004698/0.01876, allocations: 222.1 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01878, allocations: 4 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01878, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.019, allocations: 32.83 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01918, allocations: 40.05 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.02062, allocations: 1.288 MB / 386.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.02076, allocations: 23.84 kB / 386.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.02078, allocations: 8 kB / 386.8 MB, free: 9.105 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.0002454/0.02103, allocations: 138 kB / 386.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.02108, allocations: 15.91 kB / 386.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.02112, allocations: 25.45 kB / 386.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.02113, allocations: 4 kB / 386.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.02114, allocations: 3.938 kB / 386.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.02114, allocations: 0 / 386.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.02145, allocations: 193.1 kB / 387.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02145, allocations: 0 / 387.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.02156, allocations: 23.92 kB / 387.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.0217, allocations: 32.83 kB / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.02172, allocations: 0 / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.02303, allocations: 1.28 MB / 388.5 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.02304, allocations: 8.141 kB / 388.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.02368, allocations: 304.5 kB / 388.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.02373, allocations: 19.89 kB / 388.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.02375, allocations: 4 kB / 388.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.02391, allocations: 11.98 kB / 388.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.02397, allocations: 15.97 kB / 388.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.02398, allocations: 11.98 kB / 388.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.02414, allocations: 148.3 kB / 389 MB, free: 6.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02414, allocations: 0 / 389 MB, free: 6.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.02452, allocations: 55.89 kB / 389 MB, free: 6.668 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.0001542/0.02467, allocations: 111.2 kB / 389.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.02526, allocations: 236.2 kB / 389.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.02527, allocations: 256 / 389.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.02561, allocations: 174.5 kB / 389.5 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.02593, allocations: 23.92 kB / 389.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02701, allocations: 480.7 kB / 390 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.02716, allocations: 129.9 kB / 390.2 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.286e-05/0.02726, allocations: 13.48 kB / 390.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.02731, allocations: 20.5 kB / 390.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02731, allocations: 0 / 390.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of Templates: time 0.007015/0.03433, allocations: 1.977 MB / 392.2 MB, free: 3.488 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.104333953931928]