Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001888/0.001888, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 83.88 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.361, allocations: 66.05 MB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003118/0.3641, allocations: 2.437 MB / 0.4996 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.3651, allocations: 0.6369 MB / 0.5002 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3652, allocations: 7.188 kB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.3653, allocations: 37.34 kB / 0.5003 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3655, allocations: 79.31 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3658, allocations: 77.34 kB / 0.5004 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.366, allocations: 294.9 kB / 0.5007 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3662, allocations: 66.48 kB / 0.5008 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3664, allocations: 120.8 kB / 0.5009 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3665, allocations: 99.61 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.3665, allocations: 22.75 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.3666, allocations: 29.88 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.3666, allocations: 56.66 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.487e-05/0.3667, allocations: 112.5 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.367, allocations: 291.6 kB / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.367, allocations: 0 / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.367, allocations: 0 / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.367, allocations: 0 / 0.5015 GB, free: 27.05 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.0007273/0.3677, allocations: 476.9 kB / 0.5019 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3678, allocations: 13.56 kB / 0.5019 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3679, allocations: 35.27 kB / 0.502 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3683, allocations: 197.1 kB / 0.5022 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3683, allocations: 16.5 kB / 0.5022 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3683, allocations: 20.06 kB / 0.5022 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3686, allocations: 274.9 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3687, allocations: 0 / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3687, allocations: 14.58 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3687, allocations: 7.25 kB / 0.5025 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.369, allocations: 144.1 kB / 0.5026 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.3699, allocations: 0.6702 MB / 0.5033 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3701, allocations: 92.97 kB / 0.5034 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.3702, allocations: 42.19 kB / 0.5034 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3702, allocations: 3.938 kB / 0.5034 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3702, allocations: 41.12 kB / 0.5035 GB, free: 25.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3702, allocations: 0 / 0.5035 GB, free: 25.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.00156/0.3718, allocations: 0.64 MB / 0.5041 GB, free: 25.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.3718, allocations: 54.19 kB / 0.5041 GB, free: 25.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.372, allocations: 224 kB / 0.5043 GB, free: 25.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.372, allocations: 25.7 kB / 0.5044 GB, free: 24.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.372, allocations: 176 kB / 0.5045 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3721, allocations: 59.83 kB / 0.5046 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.3721, allocations: 37.19 kB / 0.5046 GB, free: 24.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3722, allocations: 331.9 kB / 0.5049 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3723, allocations: 62.86 kB / 0.505 GB, free: 24.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3725, allocations: 107.2 kB / 0.5051 GB, free: 24.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3727, allocations: 172.8 kB / 0.5053 GB, free: 24.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3727, allocations: 7.938 kB / 0.5053 GB, free: 24.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000438/0.3732, allocations: 285.9 kB / 0.5055 GB, free: 24.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3732, allocations: 6.094 kB / 0.5056 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3732, allocations: 3.062 kB / 0.5056 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.3734, allocations: 64.39 kB / 0.5056 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3736, allocations: 35.88 kB / 0.5057 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3752, allocations: 2.758 MB / 0.5083 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3753, allocations: 10.16 kB / 0.5084 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3753, allocations: 6.156 kB / 0.5084 GB, free: 21.43 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 9.245e-05/0.3754, allocations: 130.9 kB / 0.5085 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.3755, allocations: 21.56 kB / 0.5085 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3755, allocations: 31.31 kB / 0.5085 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3755, allocations: 0 / 0.5085 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3755, allocations: 2.969 kB / 0.5085 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3755, allocations: 3.562 kB / 0.5085 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3757, allocations: 187.4 kB / 0.5087 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3757, allocations: 0 / 0.5087 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.3758, allocations: 20.44 kB / 0.5087 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.376, allocations: 75.12 kB / 0.5088 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.376, allocations: 8 kB / 0.5088 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.3775, allocations: 2.736 MB / 0.5115 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3775, allocations: 0 / 0.5115 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.378, allocations: 399.6 kB / 0.5119 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.3781, allocations: 18.05 kB / 0.5119 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3781, allocations: 7.281 kB / 0.5119 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3783, allocations: 14.8 kB / 0.5119 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.3784, allocations: 17.52 kB / 0.5119 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3784, allocations: 10.39 kB / 0.5119 GB, free: 18.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.3785, allocations: 155.5 kB / 0.5121 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 0 / 0.5121 GB, free: 18.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.3788, allocations: 58.78 kB / 0.5121 GB, free: 18.06 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.107e-05/0.3789, allocations: 105.9 kB / 0.5122 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3795, allocations: 406.2 kB / 0.5126 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3795, allocations: 0 / 0.5126 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.3798, allocations: 323.9 kB / 0.5129 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3801, allocations: 21.08 kB / 0.513 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.3809, allocations: 0.5192 MB / 0.5135 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.381, allocations: 142.8 kB / 0.5136 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.3811, allocations: 14.84 kB / 0.5136 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.3812, allocations: 17.59 kB / 0.5136 GB, free: 16.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3812, allocations: 0 / 0.5136 GB, free: 16.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006287/0.3875, allocations: 2.625 MB / 0.5162 GB, free: 16.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.275416090968065]