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.001854/0.001854, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.002291/0.002291, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.00189/0.00189, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3024, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01618/0.3186, allocations: 14.02 MB / 446.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009531/0.3281, allocations: 3.866 MB / 450 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.331, allocations: 99.75 kB / 450 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.3442, allocations: 5.595 MB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.3499, allocations: 1.369 MB / 457 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.3538, allocations: 1.204 MB / 458.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009912/0.3638, allocations: 6.405 MB / 464.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.3794, allocations: 8.646 MB / 473.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.3848, allocations: 3.3 MB / 476.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/0.3921, allocations: 3.874 MB / 480.4 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00287/0.3949, allocations: 0.8867 MB / 481.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.3987, allocations: 1.09 MB / 482.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.4017, allocations: 1.777 MB / 484.2 MB, free: 2.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006969/0.4087, allocations: 3.556 MB / 487.7 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.4259, allocations: 12 MB / 499.7 MB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4259, allocations: 0 / 499.7 MB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4259, allocations: 0 / 499.7 MB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003709/0.4263, allocations: 3.938 kB / 499.8 MB, free: 3.375 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.02352/0.4498, allocations: 7.905 MB / 0.4958 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4499, allocations: 12.03 kB / 0.4958 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/0.4695, allocations: 2.869 MB / 0.4986 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009323/0.4789, allocations: 3.757 MB / 0.5022 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005452/0.4794, allocations: 481 kB / 0.5027 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002942/0.4824, allocations: 0.6249 MB / 0.5033 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.5066, allocations: 9.338 MB / 0.5124 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/0.5068, allocations: 7.953 kB / 0.5124 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/0.5081, allocations: 264 kB / 0.5127 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.5084, allocations: 317.4 kB / 0.513 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.5245, allocations: 7.977 MB / 0.5208 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/0.824, allocations: 28.77 MB / 0.5489 GB, free: 83.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00846/0.8324, allocations: 11.47 MB / 0.5601 GB, free: 73.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.8346, allocations: 1.451 MB / 0.5615 GB, free: 73.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.8348, allocations: 235.8 kB / 0.5617 GB, free: 73.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.8348, allocations: 62.44 kB / 0.5618 GB, free: 72.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 3.566e-06/0.8348, allocations: 0 / 0.5618 GB, free: 72.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006665/0.8415, allocations: 4.187 MB / 0.5659 GB, free: 71.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8415, allocations: 105.2 kB / 0.566 GB, free: 71.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.8439, allocations: 1.901 MB / 0.5678 GB, free: 70.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.844, allocations: 64.77 kB / 0.5679 GB, free: 70.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.8452, allocations: 2.635 MB / 0.5705 GB, free: 68.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.8457, allocations: 0.8485 MB / 0.5713 GB, free: 67.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/0.8464, allocations: 0.6747 MB / 0.5719 GB, free: 67.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.8465, allocations: 301.1 kB / 0.5722 GB, free: 67.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.8481, allocations: 1.407 MB / 0.5736 GB, free: 66.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.8502, allocations: 2.598 MB / 0.5761 GB, free: 64.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.8539, allocations: 4.249 MB / 0.5803 GB, free: 60.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.8539, allocations: 10.44 kB / 0.5803 GB, free: 60.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005521/0.8595, allocations: 4.542 MB / 0.5847 GB, free: 56.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.8595, allocations: 27.94 kB / 0.5848 GB, free: 56.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/0.8595, allocations: 36 kB / 0.5848 GB, free: 56.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/0.8602, allocations: 312.8 kB / 0.5851 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.8625, allocations: 0.7839 MB / 0.5859 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.8664, allocations: 5.049 MB / 0.5908 GB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.8688, allocations: 416.2 kB / 0.5912 GB, free: 49.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.8691, allocations: 168 kB / 0.5913 GB, free: 49.55 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.003769/0.8729, allocations: 2.187 MB / 0.5935 GB, free: 47.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.8733, allocations: 222.5 kB / 0.5937 GB, free: 47.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.8775, allocations: 3.174 MB / 0.5968 GB, free: 43.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.8775, allocations: 24 kB / 0.5968 GB, free: 43.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.8776, allocations: 4 kB / 0.5968 GB, free: 43.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.8776, allocations: 15.95 kB / 0.5968 GB, free: 43.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.895, allocations: 12.67 MB / 0.6092 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.895, allocations: 12 kB / 0.6092 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.8965, allocations: 439.3 kB / 0.6096 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/0.8971, allocations: 278.2 kB / 0.6099 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.8972, allocations: 71.97 kB / 0.61 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.901, allocations: 4.997 MB / 0.6149 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.901, allocations: 23.88 kB / 0.6149 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/0.9063, allocations: 5.014 MB / 0.6198 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9074, allocations: 0.5341 MB / 0.6203 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.9076, allocations: 63.98 kB / 0.6204 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.9088, allocations: 123.8 kB / 0.6205 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.9091, allocations: 209.3 kB / 0.6207 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9092, allocations: 87.98 kB / 0.6208 GB, free: 18.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.9108, allocations: 1.291 MB / 0.622 GB, free: 16.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.9108, allocations: 0 / 0.622 GB, free: 16.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003691/0.9144, allocations: 1.456 MB / 0.6234 GB, free: 15.52 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.0004349/0.9149, allocations: 218.1 kB / 0.6236 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004524/0.9194, allocations: 3.499 MB / 0.6271 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9194, allocations: 0 / 0.6271 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.9212, allocations: 1.599 MB / 0.6286 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.9237, allocations: 0.5078 MB / 0.6291 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.9386, allocations: 9.964 MB / 0.6389 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/0.9431, allocations: 3.893 MB / 0.6427 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.9441, allocations: 243.4 kB / 0.6429 GB, free: 11.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.9441, allocations: 0 / 0.6429 GB, free: 11.31 MB / 462.1 MB Notification: Performance of Templates: time 0.4104/1.354, allocations: 125.5 MB / 0.7654 GB, free: 188.7 MB / 0.545 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: 12.207867817953229]