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.001057/0.001057, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00108/0.00108, allocations: 161 kB / 24.56 MB, free: 20 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.9778/0.9778, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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.2819/0.2819, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] 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.834e-06/1.834e-06, allocations: 0 / 378 MB, free: 2.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.301e-05, allocations: 2.312 kB / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002812/0.002835, allocations: 2.599 MB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003931, allocations: 0.6619 MB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004046, allocations: 7.938 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.004173, allocations: 39.64 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004292, allocations: 83.2 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.00459, allocations: 75.83 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.004839, allocations: 310.5 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004985, allocations: 52.8 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.00521, allocations: 183.5 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005321, allocations: 83.77 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.00535, allocations: 24 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.005411, allocations: 32 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.005442, allocations: 51.77 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.005509, allocations: 91.81 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005731, allocations: 199.2 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005734, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005734, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005739, allocations: 0 / 382.5 MB, free: 14.21 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.0005448/0.006284, allocations: 0.5585 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.00632, allocations: 12.03 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.00645, allocations: 52.75 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006656, allocations: 204.6 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006671, allocations: 12.88 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.006705, allocations: 24.38 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.006939, allocations: 238.5 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006947, allocations: 192 / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.006964, allocations: 8.375 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.006975, allocations: 11.94 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.00709, allocations: 78.94 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.007852, allocations: 0.7221 MB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.007969, allocations: 75.23 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.008013, allocations: 39.61 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.008029, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.008051, allocations: 37.39 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.008052, allocations: 0 / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009333/0.008985, allocations: 0.5313 MB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.009013, allocations: 55.41 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.009152, allocations: 253.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.009166, allocations: 29.7 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.009251, allocations: 222.9 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.009282, allocations: 55.53 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.009334, allocations: 47.31 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.009451, allocations: 0.5001 MB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.0095, allocations: 31.98 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.009578, allocations: 94.03 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.009708, allocations: 130 kB / 386.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00971, allocations: 3.938 kB / 386.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002688/0.009979, allocations: 225.9 kB / 386.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.009992, allocations: 7.938 kB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.009999, allocations: 7.984 kB / 386.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.01023, allocations: 91.33 kB / 386.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.01032, allocations: 31.92 kB / 386.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.01197, allocations: 3.645 MB / 390.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.01204, allocations: 16.05 kB / 390.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01205, allocations: 8 kB / 390.5 MB, free: 5.586 MB / 362.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 9.891e-05/0.01215, allocations: 168.5 kB / 390.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.01218, allocations: 23.86 kB / 390.7 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.0122, allocations: 25.8 kB / 390.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0122, allocations: 3.938 kB / 390.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.01221, allocations: 4 kB / 390.7 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01221, allocations: 0 / 390.7 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.01238, allocations: 196.5 kB / 390.9 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01238, allocations: 4 kB / 390.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.01242, allocations: 11.98 kB / 390.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.01259, allocations: 83.31 kB / 391 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.0126, allocations: 12 kB / 391 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.01424, allocations: 3.642 MB / 394.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01424, allocations: 0 / 394.6 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.01453, allocations: 363.9 kB / 395 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01455, allocations: 19.91 kB / 395 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01456, allocations: 0 / 395 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.01464, allocations: 15.98 kB / 395 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.01469, allocations: 15.97 kB / 395 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.0147, allocations: 8 kB / 395.1 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.01478, allocations: 171.1 kB / 395.2 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 32 / 395.2 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000239/0.01502, allocations: 75.92 kB / 395.3 MB, free: 452 kB / 362.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 8.287e-05/0.01511, allocations: 95.25 kB / 395.4 MB, free: 348 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.01555, allocations: 474.8 kB / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01556, allocations: 0 / 395.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.01583, allocations: 430.8 kB / 396.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01605, allocations: 24.17 kB / 396.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.01689, allocations: 478.2 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.01695, allocations: 84.31 kB / 396.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.01699, allocations: 17.64 kB / 396.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.01703, allocations: 20.5 kB / 396.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01703, allocations: 0 / 396.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of Templates: time 0.004429/0.02146, allocations: 2.727 MB / 399.6 MB, free: 12.03 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] 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","",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.291972020175308]