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.001667/0.001667, allocations: 73.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001865/0.001865, allocations: 158.2 kB / 24.5 MB, free: 3.715 MB / 14.72 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.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 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.2148/0.2148, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 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 0.00234/0.00234, allocations: 71.88 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3609, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003362/0.3642, allocations: 2.431 MB / 0.4996 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3654, allocations: 0.637 MB / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3655, allocations: 3.219 kB / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3657, allocations: 40.42 kB / 0.5002 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3658, allocations: 75.34 kB / 0.5003 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3662, allocations: 81.09 kB / 0.5004 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.3665, allocations: 291.2 kB / 0.5007 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.3666, allocations: 66.11 kB / 0.5007 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3668, allocations: 124.3 kB / 0.5008 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.367, allocations: 107 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.367, allocations: 22.03 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.3671, allocations: 26.12 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.3672, allocations: 56.31 kB / 0.5011 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3673, allocations: 101.2 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.3676, allocations: 292.5 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3676, allocations: 0 / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3676, allocations: 0 / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3676, allocations: 0 / 0.5014 GB, free: 27.15 MB / 446.1 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.0007546/0.3684, allocations: 482.8 kB / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3684, allocations: 9.281 kB / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.3686, allocations: 38.38 kB / 0.5019 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3689, allocations: 202.3 kB / 0.5021 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3689, allocations: 11.34 kB / 0.5021 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3689, allocations: 25.12 kB / 0.5022 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.3693, allocations: 274.1 kB / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3693, allocations: 0 / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.3693, allocations: 7.156 kB / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3693, allocations: 5.969 kB / 0.5024 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3696, allocations: 140.1 kB / 0.5026 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3706, allocations: 0.6809 MB / 0.5032 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3708, allocations: 87.08 kB / 0.5033 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.3709, allocations: 44.14 kB / 0.5034 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3709, allocations: 10.72 kB / 0.5034 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3709, allocations: 33.47 kB / 0.5034 GB, free: 25.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3709, allocations: 3.938 kB / 0.5034 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001609/0.3725, allocations: 0.6399 MB / 0.504 GB, free: 25.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.3726, allocations: 58.44 kB / 0.5041 GB, free: 25.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3727, allocations: 209.2 kB / 0.5043 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3727, allocations: 33.12 kB / 0.5043 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.3728, allocations: 178.4 kB / 0.5045 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3728, allocations: 57.69 kB / 0.5045 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.3729, allocations: 42.97 kB / 0.5046 GB, free: 24.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.373, allocations: 325 kB / 0.5049 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3731, allocations: 69.61 kB / 0.505 GB, free: 24.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3732, allocations: 109 kB / 0.5051 GB, free: 24.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.3735, allocations: 170.5 kB / 0.5052 GB, free: 24.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3735, allocations: 3.312 kB / 0.5052 GB, free: 24.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004368/0.3739, allocations: 282.4 kB / 0.5055 GB, free: 24.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3739, allocations: 5.875 kB / 0.5055 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3739, allocations: 2.875 kB / 0.5055 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.3742, allocations: 76.22 kB / 0.5056 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3743, allocations: 32.44 kB / 0.5056 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.376, allocations: 2.759 MB / 0.5083 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3761, allocations: 7.281 kB / 0.5083 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3761, allocations: 9.969 kB / 0.5083 GB, free: 21.52 MB / 446.1 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.0001162/0.3762, allocations: 141.6 kB / 0.5085 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3763, allocations: 21.09 kB / 0.5085 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.3763, allocations: 17.09 kB / 0.5085 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3763, allocations: 2.875 kB / 0.5085 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3763, allocations: 3.234 kB / 0.5085 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3763, allocations: 0 / 0.5085 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3765, allocations: 196.7 kB / 0.5087 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3765, allocations: 4.188 kB / 0.5087 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.3766, allocations: 20.08 kB / 0.5087 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.3768, allocations: 68.84 kB / 0.5088 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3768, allocations: 0 / 0.5088 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.3783, allocations: 2.746 MB / 0.5115 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3783, allocations: 4 kB / 0.5115 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.3788, allocations: 389.2 kB / 0.5118 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.3788, allocations: 17.78 kB / 0.5118 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3789, allocations: 0 / 0.5118 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.379, allocations: 26.38 kB / 0.5119 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.3791, allocations: 20.52 kB / 0.5119 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3791, allocations: 6.25 kB / 0.5119 GB, free: 18.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.3792, allocations: 146.1 kB / 0.512 GB, free: 18.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3792, allocations: 0 / 0.512 GB, free: 18.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.3796, allocations: 62.59 kB / 0.5121 GB, free: 18.16 MB / 446.1 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.505e-05/0.3797, allocations: 105.5 kB / 0.5122 GB, free: 18.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.3803, allocations: 401 kB / 0.5126 GB, free: 17.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3803, allocations: 3.938 kB / 0.5126 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.3806, allocations: 325.5 kB / 0.5129 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3809, allocations: 24.56 kB / 0.5129 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3818, allocations: 0.5141 MB / 0.5134 GB, free: 17.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3819, allocations: 143.2 kB / 0.5136 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.382, allocations: 15.11 kB / 0.5136 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.382, allocations: 17.56 kB / 0.5136 GB, free: 17.07 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.382, allocations: 0 / 0.5136 GB, free: 17.07 MB / 446.1 MB Notification: Performance of Templates: time 0.006936/0.3889, allocations: 2.635 MB / 0.5162 GB, free: 16.72 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/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.195530477096327]