Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.001537/0.001537, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001572/0.001572, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.173e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01279/0.01283, allocations: 8.801 MB / 259.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007897/0.02072, allocations: 2.745 MB / 261.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.02319, allocations: 75.62 kB / 262 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.03459, allocations: 4.141 MB / 266.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.03895, allocations: 0.9161 MB / 267 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.04207, allocations: 0.9423 MB / 268 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007237/0.04931, allocations: 4.457 MB / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.06189, allocations: 7.129 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006695/0.06859, allocations: 3.713 MB / 283.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005122/0.07371, allocations: 2.409 MB / 285.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.07545, allocations: 0.6797 MB / 286.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.07844, allocations: 0.8941 MB / 287.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002088/0.08053, allocations: 1.344 MB / 288.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004384/0.08491, allocations: 1.786 MB / 290.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.09852, allocations: 9.182 MB / 299.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.09852, allocations: 0 / 299.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.09853, allocations: 0 / 299.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002817/0.09881, allocations: 0 / 299.6 MB, free: 6.332 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01744/0.1162, allocations: 5.547 MB / 305.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.1163, allocations: 11.98 kB / 305.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.1313, allocations: 3.091 MB / 308.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006272/0.1376, allocations: 2.422 MB / 310.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/0.1381, allocations: 366.2 kB / 311 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.14, allocations: 485.8 kB / 311.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.1584, allocations: 6.668 MB / 318.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.1586, allocations: 4 kB / 318.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006735/0.1592, allocations: 200 kB / 318.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.1596, allocations: 226.1 kB / 318.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.1745, allocations: 6.098 MB / 324.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0418/0.2163, allocations: 19.59 MB / 344.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008082/0.2244, allocations: 3.055 MB / 347.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.2259, allocations: 0.7371 MB / 348.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005787/0.2317, allocations: 1.999 MB / 350 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.2317, allocations: 38.5 kB / 350.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.2317, allocations: 4 kB / 350.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007703/0.2325, allocations: 240.7 kB / 350.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2325, allocations: 51.41 kB / 350.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.2369, allocations: 2.245 MB / 352.6 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.2369, allocations: 29.7 kB / 352.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1343/0.3712, allocations: 2.461 MB / 355.1 MB, free: 97.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3713, allocations: 78.58 kB / 355.2 MB, free: 97.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.3725, allocations: 0.5428 MB / 355.7 MB, free: 97.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3727, allocations: 356 kB / 356.1 MB, free: 96.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3738, allocations: 0.8133 MB / 356.9 MB, free: 96.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3753, allocations: 2.229 MB / 359.1 MB, free: 94.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.3778, allocations: 2.963 MB / 362.1 MB, free: 91.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-05/0.3779, allocations: 14.91 kB / 362.1 MB, free: 91.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00454/0.3824, allocations: 3.162 MB / 365.3 MB, free: 90.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.3825, allocations: 24.5 kB / 365.3 MB, free: 90.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.428e-05/0.3825, allocations: 50.5 kB / 365.3 MB, free: 90.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.551e-05/0.3826, allocations: 71.28 kB / 365.4 MB, free: 90.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3841, allocations: 0.5663 MB / 366 MB, free: 90.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.893e-05/0.3842, allocations: 101.6 kB / 366.1 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.3862, allocations: 412.5 kB / 366.5 MB, free: 90.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.3864, allocations: 147.2 kB / 366.6 MB, free: 90.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002207/0.3886, allocations: 1.722 MB / 368.3 MB, free: 89.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.3888, allocations: 145.4 kB / 368.5 MB, free: 89.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.3893, allocations: 244.9 kB / 368.7 MB, free: 89.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/0.3894, allocations: 103.2 kB / 368.8 MB, free: 89.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3894, allocations: 0 / 368.8 MB, free: 89.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3894, allocations: 5.125 kB / 368.8 MB, free: 89.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.3933, allocations: 1.961 MB / 370.8 MB, free: 87.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3933, allocations: 0 / 370.8 MB, free: 87.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.3933, allocations: 15.64 kB / 370.8 MB, free: 87.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3933, allocations: 0 / 370.8 MB, free: 87.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3934, allocations: 8 kB / 370.8 MB, free: 87.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3934, allocations: 3.938 kB / 370.8 MB, free: 87.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3934, allocations: 0 / 370.8 MB, free: 87.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.3938, allocations: 374.5 kB / 371.2 MB, free: 87.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.3941, allocations: 154.3 kB / 371.3 MB, free: 87.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.3943, allocations: 8.094 kB / 371.3 MB, free: 87.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.3948, allocations: 31.25 kB / 371.4 MB, free: 87.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.3948, allocations: 3.797 kB / 371.4 MB, free: 87.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3948, allocations: 4 kB / 371.4 MB, free: 87.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001674/0.3965, allocations: 1.4 MB / 372.8 MB, free: 86.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3965, allocations: 0 / 372.8 MB, free: 86.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002521/0.399, allocations: 1.007 MB / 373.8 MB, free: 85.3 MB / 330.7 MB 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002522/0.3993, allocations: 133 kB / 373.9 MB, free: 85.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.4013, allocations: 1.393 MB / 375.3 MB, free: 83.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4013, allocations: 0 / 375.3 MB, free: 83.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.4014, allocations: 35.98 kB / 375.3 MB, free: 83.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.403, allocations: 356.2 kB / 375.7 MB, free: 83.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4137, allocations: 6.241 MB / 381.9 MB, free: 77.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003262/0.417, allocations: 2.59 MB / 384.5 MB, free: 74.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001824/0.4188, allocations: 0.7923 MB / 385.3 MB, free: 74.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.4191, allocations: 104.5 kB / 385.4 MB, free: 74.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.374e-06/0.4191, allocations: 0 / 385.4 MB, free: 74.02 MB / 330.7 MB Notification: Performance of Templates: time 0.02769/0.4468, allocations: 16.62 MB / 402 MB, free: 57.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.125453057931736]