Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 110.2 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 185.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 43.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.225, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01356/0.2386, allocations: 13.93 MB / 415.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.2461, allocations: 3.777 MB / 419.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.2479, allocations: 99.75 kB / 419.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.2593, allocations: 5.58 MB / 424.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.2641, allocations: 1.507 MB / 426.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.2669, allocations: 1.069 MB / 427.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00728/0.2742, allocations: 6.292 MB / 433.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01821/0.2924, allocations: 13.65 MB / 447.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.2965, allocations: 3.296 MB / 450.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005493/0.3021, allocations: 3.847 MB / 454.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.3041, allocations: 0.8867 MB / 455.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.3072, allocations: 1.074 MB / 456.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.3096, allocations: 1.765 MB / 458.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005125/0.3147, allocations: 3.568 MB / 461.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.3279, allocations: 11.98 MB / 473.7 MB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3279, allocations: 0 / 473.7 MB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3279, allocations: 0 / 473.7 MB, free: 244 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002771/0.3282, allocations: 0 / 473.7 MB, free: 244 kB / 382.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.02152/0.3497, allocations: 7.909 MB / 481.6 MB, free: 8.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3498, allocations: 12.03 kB / 481.7 MB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.3688, allocations: 2.916 MB / 484.6 MB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/0.3762, allocations: 3.738 MB / 488.3 MB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004628/0.3767, allocations: 488.9 kB / 488.8 MB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/0.379, allocations: 0.6249 MB / 489.4 MB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.401, allocations: 9.31 MB / 498.7 MB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/0.4012, allocations: 7.953 kB / 498.7 MB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/0.4027, allocations: 271.9 kB / 499 MB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.403, allocations: 321.4 kB / 499.3 MB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.4167, allocations: 7.95 MB / 0.4954 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/0.4556, allocations: 28.29 MB / 0.523 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.466, allocations: 11.69 MB / 0.5344 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.4683, allocations: 1.63 MB / 0.536 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.4685, allocations: 127 kB / 0.5361 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4686, allocations: 60.56 kB / 0.5362 GB, free: 2.117 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.198e-06/0.4686, allocations: 4 kB / 0.5362 GB, free: 2.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.1945/0.6631, allocations: 4.174 MB / 0.5403 GB, free: 124.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6632, allocations: 102.6 kB / 0.5404 GB, free: 124.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.6653, allocations: 1.907 MB / 0.5422 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.6655, allocations: 61.61 kB / 0.5423 GB, free: 124 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009217/0.6664, allocations: 2.634 MB / 0.5449 GB, free: 122.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.6668, allocations: 0.8481 MB / 0.5457 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007532/0.6676, allocations: 0.672 MB / 0.5463 GB, free: 121.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.6676, allocations: 301.1 kB / 0.5466 GB, free: 121.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.6692, allocations: 1.403 MB / 0.548 GB, free: 121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.6712, allocations: 2.595 MB / 0.5505 GB, free: 119 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.6753, allocations: 4.232 MB / 0.5547 GB, free: 116.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.6753, allocations: 7.781 kB / 0.5547 GB, free: 116.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005364/0.6807, allocations: 4.533 MB / 0.5591 GB, free: 114.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.6807, allocations: 22.31 kB / 0.5591 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.6808, allocations: 38.88 kB / 0.5592 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.6814, allocations: 313.4 kB / 0.5595 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.6839, allocations: 0.7774 MB / 0.5602 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/0.6878, allocations: 5.056 MB / 0.5652 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.6897, allocations: 415.5 kB / 0.5656 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.6899, allocations: 159.9 kB / 0.5657 GB, free: 109.8 MB / 462.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.002456/0.6924, allocations: 2.195 MB / 0.5679 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.6927, allocations: 218.6 kB / 0.5681 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.6968, allocations: 3.178 MB / 0.5712 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.6968, allocations: 19.75 kB / 0.5712 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.6969, allocations: 0 / 0.5712 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/0.6975, allocations: 0.5202 MB / 0.5717 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.6977, allocations: 43.94 kB / 0.5717 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/0.6987, allocations: 111 kB / 0.5718 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.6989, allocations: 159.3 kB / 0.572 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004185/0.7031, allocations: 2.995 MB / 0.5749 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004056/0.7072, allocations: 3.983 MB / 0.5788 GB, free: 97.26 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001106/0.7083, allocations: 1.123 MB / 0.5799 GB, free: 96.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.7097, allocations: 1.294 MB / 0.5812 GB, free: 94.85 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.7097, allocations: 0 / 0.5812 GB, free: 94.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.7138, allocations: 2.828 MB / 0.5839 GB, free: 92.02 MB / 462.1 MB Notification: Performance of SimCode: time 0.01175/0.7256, allocations: 9.564 MB / 0.5933 GB, free: 82.41 MB / 462.1 MB Notification: Performance of Templates: time 0.05494/0.7805, allocations: 40.17 MB / 0.6325 GB, free: 42.4 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches