Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001839/0.001839, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002219/0.002219, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.5 MB / 255.4 MB, free: 14.98 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.83 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1171, allocations: 53.31 MB / 428.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2845/0.4016, allocations: 13.99 MB / 442.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008856/0.4105, allocations: 3.851 MB / 445.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.4145, allocations: 98.47 kB / 446 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.428, allocations: 5.603 MB / 451.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.4353, allocations: 1.366 MB / 453 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.4399, allocations: 1.21 MB / 454.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.4524, allocations: 6.381 MB / 460.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02087/0.4732, allocations: 10.75 MB / 471.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00669/0.4799, allocations: 3.293 MB / 474.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009082/0.489, allocations: 3.87 MB / 478.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003437/0.4924, allocations: 0.8906 MB / 479.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005278/0.4977, allocations: 1.082 MB / 480.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.5013, allocations: 1.781 MB / 482.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008456/0.5098, allocations: 3.568 MB / 485.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0196/0.5294, allocations: 11.99 MB / 497.8 MB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5294, allocations: 0 / 497.8 MB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5294, allocations: 4 kB / 497.8 MB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004505/0.5298, allocations: 0 / 497.8 MB, free: 11 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.0257/0.5555, allocations: 7.909 MB / 0.4939 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5556, allocations: 12.03 kB / 0.4939 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/0.5761, allocations: 2.873 MB / 0.4967 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/0.5848, allocations: 3.753 MB / 0.5003 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004758/0.5852, allocations: 485 kB / 0.5008 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/0.5875, allocations: 0.621 MB / 0.5014 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.6117, allocations: 9.33 MB / 0.5105 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/0.6119, allocations: 15.94 kB / 0.5105 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/0.6132, allocations: 267.9 kB / 0.5108 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.6135, allocations: 317.4 kB / 0.5111 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.6306, allocations: 7.981 MB / 0.5189 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/0.6797, allocations: 28.77 MB / 0.547 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.692, allocations: 11.46 MB / 0.5582 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.6946, allocations: 1.451 MB / 0.5596 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.6949, allocations: 236.1 kB / 0.5598 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.695, allocations: 56.56 kB / 0.5599 GB, free: 12.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 5.871e-06/0.695, allocations: 4 kB / 0.5599 GB, free: 12.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.008657/0.7036, allocations: 4.191 MB / 0.564 GB, free: 8.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.7037, allocations: 103.1 kB / 0.5641 GB, free: 8.215 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.707, allocations: 1.903 MB / 0.5659 GB, free: 6.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.7071, allocations: 65.7 kB / 0.566 GB, free: 6.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.7093, allocations: 2.632 MB / 0.5686 GB, free: 3.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008962/0.7102, allocations: 0.8484 MB / 0.5694 GB, free: 2.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.7113, allocations: 0.6796 MB / 0.57 GB, free: 2.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7115, allocations: 309 kB / 0.5703 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.7138, allocations: 1.404 MB / 0.5717 GB, free: 332 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.7172, allocations: 2.591 MB / 0.5742 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006107/0.7233, allocations: 4.246 MB / 0.5784 GB, free: 8.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.7233, allocations: 12 kB / 0.5784 GB, free: 8.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008065/0.7314, allocations: 4.543 MB / 0.5828 GB, free: 3.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.7314, allocations: 20 kB / 0.5829 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/0.7315, allocations: 40 kB / 0.5829 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.7323, allocations: 309.5 kB / 0.5832 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.7351, allocations: 0.78 MB / 0.584 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/0.7412, allocations: 5.06 MB / 0.5889 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.7437, allocations: 421.2 kB / 0.5893 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/0.744, allocations: 168 kB / 0.5895 GB, free: 12.79 MB / 0.4981 GB 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.003646/0.7476, allocations: 2.191 MB / 0.5916 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.7481, allocations: 218.6 kB / 0.5918 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/0.7538, allocations: 3.166 MB / 0.5949 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.7538, allocations: 28 kB / 0.5949 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.7538, allocations: 4 kB / 0.5949 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.7539, allocations: 15.95 kB / 0.5949 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/0.7734, allocations: 12.66 MB / 0.6073 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.7735, allocations: 16 kB / 0.6073 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.7752, allocations: 444.2 kB / 0.6077 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000708/0.7759, allocations: 280.6 kB / 0.608 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.776, allocations: 75.92 kB / 0.6081 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005952/0.782, allocations: 4.984 MB / 0.6129 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-05/0.782, allocations: 31.81 kB / 0.613 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2172/0.9992, allocations: 5.013 MB / 0.6179 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1, allocations: 0.542 MB / 0.6184 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.001, allocations: 63.62 kB / 0.6185 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.002, allocations: 117.4 kB / 0.6186 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/1.002, allocations: 213.9 kB / 0.6188 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.002, allocations: 89.09 kB / 0.6189 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001697/1.004, allocations: 1.288 MB / 0.6201 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 0 / 0.6201 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004179/1.008, allocations: 1.457 MB / 0.6215 GB, free: 154.5 MB / 0.5137 GB 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.0005177/1.009, allocations: 221.2 kB / 0.6218 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006278/1.015, allocations: 3.494 MB / 0.6252 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.015, allocations: 6.938 kB / 0.6252 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/1.017, allocations: 1.588 MB / 0.6267 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.021, allocations: 0.518 MB / 0.6272 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.038, allocations: 9.856 MB / 0.6369 GB, free: 148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004542/1.043, allocations: 3.895 MB / 0.6407 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.044, allocations: 241.3 kB / 0.6409 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/1.044, allocations: 0 / 0.6409 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1099/1.154, allocations: 125.5 MB / 0.7634 GB, free: 36.31 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 11.970613500103354]