Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001508/0.001508, allocations: 213 kB / 23.73 MB, free: 4.164 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 63.91 kB / 378.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2526, allocations: 53.4 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01559/0.2682, allocations: 12 MB / 443.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.2765, allocations: 3.711 MB / 447.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.2786, allocations: 119.4 kB / 447.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.291, allocations: 5.156 MB / 452.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.2959, allocations: 1.398 MB / 454 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.2991, allocations: 1.185 MB / 455.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008012/0.3071, allocations: 6.483 MB / 461.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.3207, allocations: 9.069 MB / 470.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.325, allocations: 3.359 MB / 474.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006233/0.3312, allocations: 3.733 MB / 477.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.3331, allocations: 0.8906 MB / 478.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.3357, allocations: 1.074 MB / 479.8 MB, free: 6.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001612/0.3374, allocations: 1.773 MB / 481.6 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.3412, allocations: 2.79 MB / 484.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3534, allocations: 12.05 MB / 496.4 MB, free: 5.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3534, allocations: 0 / 496.4 MB, free: 5.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3534, allocations: 0 / 496.4 MB, free: 5.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.3536, allocations: 0 / 496.4 MB, free: 5.477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01798/0.3716, allocations: 7.837 MB / 0.4925 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3716, allocations: 15.92 kB / 0.4925 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01846/0.3901, allocations: 2.869 MB / 0.4953 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008967/0.3991, allocations: 3.748 MB / 0.4989 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.3995, allocations: 481 kB / 0.4994 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.4012, allocations: 0.6249 MB / 0.5 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.421, allocations: 9.488 MB / 0.5093 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.4211, allocations: 15.95 kB / 0.5093 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008917/0.422, allocations: 260 kB / 0.5095 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003821/0.4224, allocations: 321.4 kB / 0.5098 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4375, allocations: 7.938 MB / 0.5176 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2626/0.7001, allocations: 24.08 MB / 0.5411 GB, free: 85.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008031/0.7081, allocations: 3.905 MB / 0.5449 GB, free: 85.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.7101, allocations: 1.453 MB / 0.5463 GB, free: 85.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.7103, allocations: 66.34 kB / 0.5464 GB, free: 85.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.7103, allocations: 62.78 kB / 0.5465 GB, free: 84.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.919e-06/0.7103, allocations: 0 / 0.5465 GB, free: 84.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006798/0.7171, allocations: 4.021 MB / 0.5504 GB, free: 84.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.7172, allocations: 109.3 kB / 0.5505 GB, free: 84.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.7195, allocations: 1.963 MB / 0.5524 GB, free: 83.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7196, allocations: 65.08 kB / 0.5525 GB, free: 83.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.7208, allocations: 2.639 MB / 0.555 GB, free: 82.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.7212, allocations: 0.8518 MB / 0.5559 GB, free: 81.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007522/0.722, allocations: 0.6742 MB / 0.5565 GB, free: 81.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.722, allocations: 304.6 kB / 0.5568 GB, free: 81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.7237, allocations: 1.412 MB / 0.5582 GB, free: 80.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.7257, allocations: 2.598 MB / 0.5607 GB, free: 78.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.7295, allocations: 4.238 MB / 0.5649 GB, free: 75.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-05/0.7296, allocations: 17.91 kB / 0.5649 GB, free: 75.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005614/0.7352, allocations: 4.534 MB / 0.5693 GB, free: 72.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.7352, allocations: 24 kB / 0.5694 GB, free: 72.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/0.7353, allocations: 36 kB / 0.5694 GB, free: 72.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.7359, allocations: 319.5 kB / 0.5697 GB, free: 71.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.7382, allocations: 0.78 MB / 0.5705 GB, free: 71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.7421, allocations: 4.741 MB / 0.5751 GB, free: 66.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.7439, allocations: 417.1 kB / 0.5755 GB, free: 65.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.7442, allocations: 168 kB / 0.5756 GB, free: 65.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002655/0.7468, allocations: 2.191 MB / 0.5778 GB, free: 63.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.7472, allocations: 214.6 kB / 0.578 GB, free: 63.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.7513, allocations: 3.171 MB / 0.5811 GB, free: 59.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.7513, allocations: 24 kB / 0.5811 GB, free: 59.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.7513, allocations: 4 kB / 0.5811 GB, free: 59.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.7513, allocations: 11.95 kB / 0.5811 GB, free: 59.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7673, allocations: 9.651 MB / 0.5905 GB, free: 50 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.7673, allocations: 20.06 kB / 0.5906 GB, free: 49.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.7689, allocations: 435.3 kB / 0.591 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/0.7695, allocations: 273.7 kB / 0.5912 GB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.7697, allocations: 67.98 kB / 0.5913 GB, free: 49.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.7737, allocations: 4.677 MB / 0.5959 GB, free: 44.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.7737, allocations: 19.94 kB / 0.5959 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.7793, allocations: 5.022 MB / 0.6008 GB, free: 39.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7804, allocations: 485.8 kB / 0.6013 GB, free: 38.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.7808, allocations: 56 kB / 0.6013 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.7822, allocations: 123.8 kB / 0.6014 GB, free: 38.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.7825, allocations: 217.2 kB / 0.6016 GB, free: 38.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.7826, allocations: 87.98 kB / 0.6017 GB, free: 38.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.7844, allocations: 1.278 MB / 0.603 GB, free: 36.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7844, allocations: 0 / 0.603 GB, free: 36.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003505/0.7879, allocations: 1.463 MB / 0.6044 GB, free: 35.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004029/0.7883, allocations: 223.1 kB / 0.6046 GB, free: 35.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.7929, allocations: 3.491 MB / 0.608 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.7929, allocations: 7.938 kB / 0.608 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.7948, allocations: 1.599 MB / 0.6096 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.7974, allocations: 0.4991 MB / 0.6101 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.8126, allocations: 10.09 MB / 0.6199 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/0.8167, allocations: 3.493 MB / 0.6233 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003013/0.8197, allocations: 1.195 MB / 0.6245 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/0.8203, allocations: 203.4 kB / 0.6247 GB, free: 14.31 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8203, allocations: 0 / 0.6247 GB, free: 14.31 MB / 446.1 MB Notification: Performance of Templates: time 0.06171/0.882, allocations: 35.78 MB / 0.6596 GB, free: 10.85 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 6.032754510641098]