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.002782/0.002782, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.003125/0.003125, allocations: 161 kB / 25.03 MB, free: 8.93 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.481/1.481, allocations: 158.6 MB / 186.8 MB, free: 2.898 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.312e-06/1.312e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.431e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01369/0.01372, allocations: 9.683 MB / 260 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.01977, allocations: 2.784 MB / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008921/0.02066, allocations: 75.62 kB / 262.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.03158, allocations: 4.481 MB / 267.4 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.03506, allocations: 0.9122 MB / 268.3 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.03747, allocations: 0.954 MB / 269.3 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.04353, allocations: 4.461 MB / 273.7 MB, free: 384 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.05485, allocations: 7.133 MB / 280.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.06034, allocations: 3.748 MB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/0.06459, allocations: 2.683 MB / 287.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.06591, allocations: 0.6797 MB / 288 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.06785, allocations: 0.894 MB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.06946, allocations: 1.364 MB / 290.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.07253, allocations: 1.809 MB / 292 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.08503, allocations: 9.233 MB / 301.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.08503, allocations: 0 / 301.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.08504, allocations: 0 / 301.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.08531, allocations: 0 / 301.3 MB, free: 4.664 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.01719/0.1025, allocations: 6.466 MB / 307.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1026, allocations: 11.98 kB / 307.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.1182, allocations: 3.1 MB / 310.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006155/0.1243, allocations: 2.159 MB / 313 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.1247, allocations: 366.2 kB / 313.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.126, allocations: 480.1 kB / 313.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.14, allocations: 6.051 MB / 319.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.1401, allocations: 7.953 kB / 319.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/0.1407, allocations: 200 kB / 320.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.1409, allocations: 226.1 kB / 320.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.1528, allocations: 5.473 MB / 325.8 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1687/0.3215, allocations: 28.34 MB / 354.1 MB, free: 87.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/0.3285, allocations: 2.879 MB / 357 MB, free: 87.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3295, allocations: 0.6554 MB / 357.6 MB, free: 87.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004428/0.334, allocations: 1.988 MB / 359.6 MB, free: 86.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.334, allocations: 36.86 kB / 359.7 MB, free: 86.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.334, allocations: 0 / 359.7 MB, free: 86.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000489/0.3345, allocations: 225.3 kB / 359.9 MB, free: 86.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.3345, allocations: 62.72 kB / 359.9 MB, free: 86.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.3377, allocations: 3.005 MB / 363 MB, free: 86.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3377, allocations: 25.7 kB / 363 MB, free: 86.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.3389, allocations: 2.734 MB / 365.7 MB, free: 84.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.339, allocations: 71.91 kB / 365.8 MB, free: 84.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.3397, allocations: 0.6982 MB / 366.5 MB, free: 84.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3399, allocations: 0.5785 MB / 367.1 MB, free: 84.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.3407, allocations: 0.6738 MB / 367.7 MB, free: 84.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.3422, allocations: 2.898 MB / 370.6 MB, free: 81.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.3444, allocations: 3.57 MB / 374.2 MB, free: 78.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/0.3444, allocations: 15.44 kB / 374.2 MB, free: 78.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003422/0.3478, allocations: 2.893 MB / 377.1 MB, free: 77.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.3478, allocations: 25.19 kB / 377.1 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/0.3479, allocations: 50.06 kB / 377.2 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.106e-05/0.348, allocations: 72 kB / 377.3 MB, free: 77.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.3495, allocations: 0.5649 MB / 377.8 MB, free: 77.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.613e-05/0.3495, allocations: 98.38 kB / 377.9 MB, free: 77.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3514, allocations: 417.1 kB / 378.3 MB, free: 77.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.3515, allocations: 149.3 kB / 378.5 MB, free: 77.34 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.001821/0.3533, allocations: 1.646 MB / 380.1 MB, free: 76.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3535, allocations: 149.9 kB / 380.3 MB, free: 76.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.3538, allocations: 187.8 kB / 380.4 MB, free: 76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.1e-05/0.3539, allocations: 80.19 kB / 380.5 MB, free: 75.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3539, allocations: 0.625 kB / 380.5 MB, free: 75.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3539, allocations: 3.984 kB / 380.5 MB, free: 75.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/0.3591, allocations: 3.833 MB / 384.4 MB, free: 72.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3591, allocations: 3.25 kB / 384.4 MB, free: 72.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3592, allocations: 15.92 kB / 384.4 MB, free: 72.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3592, allocations: 4 kB / 384.4 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3592, allocations: 4 kB / 384.4 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3592, allocations: 1.25 kB / 384.4 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3592, allocations: 0 / 384.4 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.3596, allocations: 406.1 kB / 384.8 MB, free: 72.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.3599, allocations: 143 kB / 384.9 MB, free: 72.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.3601, allocations: 12.83 kB / 384.9 MB, free: 72.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.3605, allocations: 27.95 kB / 385 MB, free: 72.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.3606, allocations: 0 / 385 MB, free: 72.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3606, allocations: 4 kB / 385 MB, free: 72.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001548/0.3621, allocations: 1.536 MB / 386.5 MB, free: 70.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3621, allocations: 0 / 386.5 MB, free: 70.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002462/0.3646, allocations: 1.004 MB / 387.5 MB, free: 69.48 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.0003081/0.3649, allocations: 133.4 kB / 387.6 MB, free: 69.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.3669, allocations: 1.534 MB / 389.2 MB, free: 67.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3669, allocations: 0 / 389.2 MB, free: 67.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.367, allocations: 39.61 kB / 389.2 MB, free: 67.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3684, allocations: 354.9 kB / 389.6 MB, free: 67.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.3757, allocations: 5.871 MB / 395.4 MB, free: 61.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.3774, allocations: 2.336 MB / 397.8 MB, free: 59.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.3788, allocations: 0.7085 MB / 398.5 MB, free: 58.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.379, allocations: 104.5 kB / 398.6 MB, free: 58.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.379, allocations: 0 / 398.6 MB, free: 58.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02547/0.4045, allocations: 16.48 MB / 415.1 MB, free: 41.9 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] 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.211750934948213]