Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.00185/0.00185, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002266/0.002266, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.717/1.717, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4398, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005973/0.4457, allocations: 3.49 MB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.4483, allocations: 1.036 MB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.4487, allocations: 27.81 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.4491, allocations: 158.8 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.4502, allocations: 314.4 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.4505, allocations: 139.8 kB / 437.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.4522, allocations: 1.424 MB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.4532, allocations: 0.6542 MB / 439.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.4543, allocations: 0.6581 MB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.4555, allocations: 0.8017 MB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.4557, allocations: 160 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.456, allocations: 164 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.4565, allocations: 470.7 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008071/0.4573, allocations: 0.6069 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.4595, allocations: 2.098 MB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4595, allocations: 0 / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4595, allocations: 0 / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.13e-05/0.4595, allocations: 7.938 kB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003567/0.4631, allocations: 1.65 MB / 446.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4632, allocations: 11.97 kB / 446.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/0.4638, allocations: 184 kB / 446.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4655, allocations: 0.8591 MB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.4656, allocations: 94.31 kB / 447.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.4658, allocations: 108 kB / 447.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.4687, allocations: 1.719 MB / 449.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.4687, allocations: 0 / 449.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.4689, allocations: 51.98 kB / 449.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.4689, allocations: 28 kB / 449.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4712, allocations: 1.328 MB / 450.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007105/0.4783, allocations: 3.724 MB / 454.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4794, allocations: 0.6169 MB / 454.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008975/0.4802, allocations: 0.4944 MB / 455.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.4803, allocations: 4.438 kB / 455.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.4803, allocations: 42.98 kB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 4.388e-06/0.4803, allocations: 0 / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001601/0.4819, allocations: 0.8694 MB / 456.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.482, allocations: 59.84 kB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.4832, allocations: 0.8047 MB / 457.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.4832, allocations: 33.7 kB / 457.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.4837, allocations: 0.5701 MB / 457.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.4839, allocations: 186.4 kB / 457.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.4841, allocations: 106.3 kB / 458 MB, free: 12.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4843, allocations: 394.6 kB / 458.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.4848, allocations: 305.1 kB / 458.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.4853, allocations: 391.4 kB / 459.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4864, allocations: 0.6854 MB / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4864, allocations: 0 / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001438/0.4878, allocations: 0.8247 MB / 460.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4879, allocations: 11.98 kB / 460.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4879, allocations: 0 / 460.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.4879, allocations: 8 kB / 460.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.4885, allocations: 140.1 kB / 460.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.4886, allocations: 15.98 kB / 460.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.489, allocations: 55.61 kB / 460.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.489, allocations: 23.94 kB / 460.8 MB, free: 9.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007751/0.4898, allocations: 461.8 kB / 461.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.49, allocations: 79.53 kB / 461.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.4902, allocations: 91.06 kB / 461.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4902, allocations: 8 kB / 461.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4902, allocations: 0 / 461.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.4902, allocations: 7.922 kB / 461.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.4934, allocations: 1.688 MB / 463.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4934, allocations: 160 / 463.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.4939, allocations: 115.9 kB / 463.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4939, allocations: 4 kB / 463.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.494, allocations: 19.98 kB / 463.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.494, allocations: 0 / 463.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.494, allocations: 4 kB / 463.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4959, allocations: 1.13 MB / 464.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.4961, allocations: 99.42 kB / 464.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.4962, allocations: 12 kB / 464.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.4967, allocations: 43.95 kB / 464.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4968, allocations: 40.36 kB / 464.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.4968, allocations: 19.94 kB / 464.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009105/0.4977, allocations: 0.577 MB / 465.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4977, allocations: 4 kB / 465.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009481/0.4987, allocations: 287.1 kB / 465.5 MB, free: 4.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.4989, allocations: 123 kB / 465.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.5, allocations: 0.6341 MB / 466.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5, allocations: 128 / 466.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.5005, allocations: 318.2 kB / 466.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.5014, allocations: 161.2 kB / 466.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.5059, allocations: 2.296 MB / 469 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/0.5068, allocations: 0.7485 MB / 469.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006146/0.5074, allocations: 205.5 kB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.5076, allocations: 59.44 kB / 470 MB, free: 360 kB / 366.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5076, allocations: 0 / 470 MB, free: 360 kB / 366.1 MB Notification: Performance of Templates: time 0.021/0.5286, allocations: 11.36 MB / 481.4 MB, free: 5.184 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.623104316007812]