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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.8 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 55.91 kB / 366.8 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09528, allocations: 52.14 MB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01523/0.1105, allocations: 13.99 MB / 432.9 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008305/0.1188, allocations: 3.792 MB / 436.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.1213, allocations: 103.7 kB / 436.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.1332, allocations: 5.597 MB / 442.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.1383, allocations: 1.515 MB / 444 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.1408, allocations: 1.071 MB / 445 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2005/0.3413, allocations: 6.289 MB / 451.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.3548, allocations: 10.73 MB / 462.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006911/0.3618, allocations: 3.296 MB / 465.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006692/0.3684, allocations: 3.868 MB / 469.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.371, allocations: 0.8861 MB / 470.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.3739, allocations: 1.075 MB / 471.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.3754, allocations: 1.771 MB / 472.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006582/0.382, allocations: 3.67 MB / 476.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.3961, allocations: 11.98 MB / 488.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3961, allocations: 0 / 488.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3961, allocations: 0 / 488.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000347/0.3965, allocations: 5.219 kB / 488.6 MB, free: 9.363 MB / 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.02285/0.4193, allocations: 7.907 MB / 496.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4194, allocations: 8.031 kB / 496.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/0.4391, allocations: 2.919 MB / 499.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/0.4473, allocations: 3.74 MB / 0.4914 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.4477, allocations: 484.8 kB / 0.4918 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/0.4499, allocations: 0.624 MB / 0.4925 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.4713, allocations: 9.323 MB / 0.5016 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.4715, allocations: 11.94 kB / 0.5016 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008793/0.4723, allocations: 258.9 kB / 0.5018 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/0.4727, allocations: 317.4 kB / 0.5021 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4889, allocations: 7.945 MB / 0.5099 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/0.5394, allocations: 28.29 MB / 0.5375 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.552, allocations: 11.46 MB / 0.5487 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.5547, allocations: 1.457 MB / 0.5501 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.5549, allocations: 128.1 kB / 0.5502 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.555, allocations: 71.84 kB / 0.5503 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.247e-06/0.555, allocations: 0 / 0.5503 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.008788/0.5638, allocations: 4.167 MB / 0.5544 GB, free: 9.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.5639, allocations: 107.1 kB / 0.5545 GB, free: 9.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.567, allocations: 1.895 MB / 0.5563 GB, free: 7.527 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5672, allocations: 69.7 kB / 0.5564 GB, free: 7.453 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.5695, allocations: 2.64 MB / 0.559 GB, free: 4.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008493/0.5703, allocations: 0.8533 MB / 0.5598 GB, free: 3.961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.5714, allocations: 0.664 MB / 0.5605 GB, free: 3.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5715, allocations: 301.1 kB / 0.5607 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.5738, allocations: 1.4 MB / 0.5621 GB, free: 1.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/0.5772, allocations: 2.598 MB / 0.5647 GB, free: 14.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.5831, allocations: 4.231 MB / 0.5688 GB, free: 9.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.722e-05/0.5831, allocations: 12 kB / 0.5688 GB, free: 9.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007874/0.591, allocations: 4.52 MB / 0.5732 GB, free: 5.566 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.591, allocations: 20 kB / 0.5732 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.264e-05/0.5911, allocations: 44 kB / 0.5733 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.592, allocations: 308.5 kB / 0.5736 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/0.5948, allocations: 0.7745 MB / 0.5743 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.6011, allocations: 5.054 MB / 0.5793 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.6037, allocations: 417.1 kB / 0.5797 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.6041, allocations: 160 kB / 0.5798 GB, free: 14.62 MB / 494.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.00392/0.608, allocations: 2.195 MB / 0.582 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.6085, allocations: 218.5 kB / 0.5822 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/0.6142, allocations: 3.175 MB / 0.5853 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.6142, allocations: 24 kB / 0.5853 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6142, allocations: 8 kB / 0.5853 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.6143, allocations: 15.95 kB / 0.5853 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/0.6333, allocations: 11.74 MB / 0.5968 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.6333, allocations: 12 kB / 0.5968 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.635, allocations: 444.2 kB / 0.5972 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.6358, allocations: 277.8 kB / 0.5975 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.6359, allocations: 67.98 kB / 0.5975 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.6417, allocations: 5.001 MB / 0.6024 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/0.6417, allocations: 23.12 kB / 0.6024 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007627/0.6494, allocations: 4.992 MB / 0.6073 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.6505, allocations: 0.5379 MB / 0.6078 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.6508, allocations: 67.88 kB / 0.6079 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6521, allocations: 123.9 kB / 0.608 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.6525, allocations: 204.6 kB / 0.6082 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.6526, allocations: 80 kB / 0.6083 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002043/0.6547, allocations: 1.298 MB / 0.6096 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6547, allocations: 0 / 0.6096 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004247/0.6589, allocations: 1.444 MB / 0.611 GB, free: 14.04 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.0005663/0.6595, allocations: 226.8 kB / 0.6112 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006258/0.6657, allocations: 3.481 MB / 0.6146 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.6658, allocations: 4 kB / 0.6146 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.6684, allocations: 1.599 MB / 0.6162 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.6715, allocations: 0.5062 MB / 0.6166 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/0.6954, allocations: 9.903 MB / 0.6263 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006913/0.7023, allocations: 3.9 MB / 0.6301 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.7037, allocations: 215.4 kB / 0.6303 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of SimCode: time 2.204e-06/0.7037, allocations: 3.938 kB / 0.6303 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.3029/1.007, allocations: 124.4 MB / 0.7518 GB, free: 87.88 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.162992876954377]