Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001847/0.001847, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002364/0.002364, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.558/1.558, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.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.2507/0.2507, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 79.88 kB / 0.4974 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3416, allocations: 66.1 MB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02438/0.366, allocations: 19.52 MB / 0.581 GB, free: 388 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.3796, allocations: 5.396 MB / 0.5863 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005239/0.3849, allocations: 234.8 kB / 0.5865 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02242/0.4073, allocations: 8.836 MB / 0.5951 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009505/0.4168, allocations: 2.19 MB / 0.5972 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.4231, allocations: 1.877 MB / 0.5991 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01917/0.4423, allocations: 14.54 MB / 0.6133 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04047/0.4828, allocations: 21.12 MB / 0.6339 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.4971, allocations: 8.167 MB / 0.6419 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/0.5139, allocations: 8.717 MB / 0.6504 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006807/0.5207, allocations: 2.098 MB / 0.6524 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009364/0.5301, allocations: 2.343 MB / 0.6547 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008688/0.5388, allocations: 4.333 MB / 0.659 GB, free: 164 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01573/0.5545, allocations: 6.596 MB / 0.6654 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03981/0.5943, allocations: 28.91 MB / 0.6936 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5943, allocations: 3.938 kB / 0.6936 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5943, allocations: 0 / 0.6936 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008684/0.5952, allocations: 0 / 0.6936 GB, free: 12.53 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06861/0.6638, allocations: 18.92 MB / 0.7121 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6639, allocations: 12.03 kB / 0.7121 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06223/0.7261, allocations: 11.48 MB / 0.7234 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02391/0.75, allocations: 9.051 MB / 0.7322 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001455/0.7515, allocations: 1.063 MB / 0.7332 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006507/0.758, allocations: 1.363 MB / 0.7346 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5956/1.354, allocations: 23.93 MB / 0.7579 GB, free: 126.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007241/1.354, allocations: 20.17 kB / 0.758 GB, free: 126.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005276/1.36, allocations: 0.5783 MB / 0.7585 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006923/1.36, allocations: 0.7028 MB / 0.7592 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04365/1.404, allocations: 21.66 MB / 0.7804 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1186/1.522, allocations: 61.13 MB / 0.84 GB, free: 43.03 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/1.541, allocations: 11.33 MB / 0.8511 GB, free: 33.11 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007779/1.548, allocations: 4.504 MB / 0.8555 GB, free: 28.58 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.579, allocations: 14.33 MB / 0.8695 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/1.579, allocations: 90.05 kB / 0.8696 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 9.678e-06/1.579, allocations: 0 / 0.8696 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03542/1.614, allocations: 15.42 MB / 0.8846 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.614, allocations: 128.6 kB / 0.8848 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.626, allocations: 4.982 MB / 0.8896 GB, free: 9.906 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.627, allocations: 101.7 kB / 0.8897 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005831/1.633, allocations: 6.107 MB / 0.8957 GB, free: 4.152 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00287/1.636, allocations: 1.666 MB / 0.8973 GB, free: 2.473 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0052/1.641, allocations: 1.555 MB / 0.8988 GB, free: 0.9102 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.641, allocations: 305.1 kB / 0.8991 GB, free: 0.6094 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009137/1.65, allocations: 4.145 MB / 0.9032 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/1.663, allocations: 7.274 MB / 0.9103 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02074/1.684, allocations: 11.95 MB / 0.922 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/1.684, allocations: 32 kB / 0.922 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03198/1.716, allocations: 13.06 MB / 0.9347 GB, free: 9.211 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.716, allocations: 48 kB / 0.9348 GB, free: 9.164 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/1.716, allocations: 104 kB / 0.9349 GB, free: 9.062 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007802/1.724, allocations: 3.095 MB / 0.9379 GB, free: 5.957 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.731, allocations: 1.603 MB / 0.9395 GB, free: 4.352 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/1.732, allocations: 335 kB / 0.9398 GB, free: 4.016 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007198/1.739, allocations: 1.048 MB / 0.9408 GB, free: 2.961 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.741, allocations: 395.9 kB / 0.9412 GB, free: 2.574 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01227/1.753, allocations: 5.39 MB / 0.9464 GB, free: 13.17 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.755, allocations: 0.5045 MB / 0.9469 GB, free: 12.66 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/1.778, allocations: 9.528 MB / 0.9562 GB, free: 3.102 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/1.778, allocations: 48 kB / 0.9563 GB, free: 3.055 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.778, allocations: 3.938 kB / 0.9563 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/1.778, allocations: 23.91 kB / 0.9563 GB, free: 3.027 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04528/1.823, allocations: 17.97 MB / 0.9739 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/1.823, allocations: 0 / 0.9739 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003774/1.827, allocations: 0.741 MB / 0.9746 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007445/1.834, allocations: 2.961 MB / 0.9775 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/1.835, allocations: 107.9 kB / 0.9776 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000735/1.836, allocations: 150.4 kB / 0.9777 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.836, allocations: 0 / 0.9777 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3328/2.169, allocations: 14.16 MB / 0.9916 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00518/2.174, allocations: 1.331 MB / 0.9929 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001653/2.176, allocations: 81.56 kB / 0.9929 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/2.18, allocations: 367.6 kB / 0.9933 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/2.181, allocations: 334.5 kB / 0.9936 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003812/2.181, allocations: 137.7 kB / 0.9937 GB, free: 222.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005841/2.187, allocations: 3.211 MB / 0.9969 GB, free: 221.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/2.187, allocations: 0 / 0.9969 GB, free: 221.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0101/2.197, allocations: 3.251 MB / 1 GB, free: 221.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/2.199, allocations: 252.7 kB / 1 GB, free: 221.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01619/2.215, allocations: 9.522 MB / 1.01 GB, free: 218.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.215, allocations: 0.9062 kB / 1.01 GB, free: 218.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/2.223, allocations: 4.111 MB / 1.014 GB, free: 217 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/2.23, allocations: 1.266 MB / 1.015 GB, free: 216.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/2.274, allocations: 24.07 MB / 1.038 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/2.289, allocations: 8.331 MB / 1.046 GB, free: 194.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/2.291, allocations: 468.8 kB / 1.047 GB, free: 194.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.372e-06/2.291, allocations: 0 / 1.047 GB, free: 194.5 MB / 0.67 GB Notification: Performance of Templates: time 0.6796/2.971, allocations: 389.6 MB / 1.427 GB, free: 74.88 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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: 23.18979879282415]