Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 48.02 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.236, allocations: 53.38 MB / 431.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0163/0.2523, allocations: 14.01 MB / 445.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008242/0.2606, allocations: 3.863 MB / 449.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.2627, allocations: 119.4 kB / 449.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.276, allocations: 5.612 MB / 455.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.2815, allocations: 1.416 MB / 456.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.2852, allocations: 1.235 MB / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009628/0.2948, allocations: 6.49 MB / 464.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01616/0.3109, allocations: 9.159 MB / 473.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.3161, allocations: 3.363 MB / 476.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007044/0.3232, allocations: 3.882 MB / 480.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.3261, allocations: 0.8867 MB / 481.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.3298, allocations: 1.086 MB / 482.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003559/0.3333, allocations: 1.773 MB / 484.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007001/0.3403, allocations: 3.571 MB / 488.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.3577, allocations: 11.98 MB / 0.4884 GB, free: 2.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3577, allocations: 4 kB / 0.4884 GB, free: 2.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3577, allocations: 0 / 0.4884 GB, free: 2.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004237/0.3581, allocations: 4 kB / 0.4884 GB, free: 2.125 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.02361/0.3817, allocations: 7.83 MB / 0.496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3818, allocations: 15.97 kB / 0.496 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.4015, allocations: 2.873 MB / 0.4989 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009476/0.411, allocations: 3.752 MB / 0.5025 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006157/0.4116, allocations: 481 kB / 0.503 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003202/0.4148, allocations: 0.621 MB / 0.5036 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.4353, allocations: 9.338 MB / 0.5127 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.4355, allocations: 7.953 kB / 0.5127 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006316/0.4361, allocations: 264 kB / 0.513 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/0.4364, allocations: 309.4 kB / 0.5133 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.451, allocations: 7.985 MB / 0.5211 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2416/0.6926, allocations: 27.39 MB / 0.5478 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/0.6995, allocations: 3.958 MB / 0.5517 GB, free: 83.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.7015, allocations: 1.452 MB / 0.5531 GB, free: 82.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.7017, allocations: 80.67 kB / 0.5532 GB, free: 82.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7018, allocations: 66.5 kB / 0.5532 GB, free: 82.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.509e-06/0.7018, allocations: 2.844 kB / 0.5532 GB, free: 82.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006556/0.7083, allocations: 4.039 MB / 0.5572 GB, free: 81.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.7084, allocations: 106.2 kB / 0.5573 GB, free: 81.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.7104, allocations: 1.898 MB / 0.5591 GB, free: 80.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.7105, allocations: 65.14 kB / 0.5592 GB, free: 80.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/0.7115, allocations: 2.633 MB / 0.5618 GB, free: 78.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.7119, allocations: 0.8572 MB / 0.5626 GB, free: 77.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/0.7126, allocations: 0.6721 MB / 0.5633 GB, free: 77.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.7127, allocations: 301.1 kB / 0.5635 GB, free: 77.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.7143, allocations: 1.408 MB / 0.5649 GB, free: 76.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.7163, allocations: 2.597 MB / 0.5675 GB, free: 74.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.7201, allocations: 4.249 MB / 0.5716 GB, free: 70.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.7201, allocations: 10.81 kB / 0.5716 GB, free: 70.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005432/0.7255, allocations: 4.532 MB / 0.576 GB, free: 66.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.7255, allocations: 31.92 kB / 0.5761 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.7256, allocations: 44.02 kB / 0.5761 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.7263, allocations: 311.2 kB / 0.5764 GB, free: 66.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.7287, allocations: 0.78 MB / 0.5772 GB, free: 65.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.7326, allocations: 4.842 MB / 0.5819 GB, free: 60.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.7345, allocations: 416 kB / 0.5823 GB, free: 59.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.7346, allocations: 168 kB / 0.5825 GB, free: 59.66 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.002672/0.7373, allocations: 2.191 MB / 0.5846 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.7376, allocations: 222.5 kB / 0.5848 GB, free: 57.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.7417, allocations: 3.17 MB / 0.5879 GB, free: 54.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.7417, allocations: 24 kB / 0.5879 GB, free: 54.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7417, allocations: 6.078 kB / 0.5879 GB, free: 54.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.7417, allocations: 12.98 kB / 0.5879 GB, free: 54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.755, allocations: 11.03 MB / 0.5987 GB, free: 42.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.755, allocations: 16 kB / 0.5987 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.7565, allocations: 443.3 kB / 0.5992 GB, free: 42.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.7571, allocations: 270.1 kB / 0.5994 GB, free: 42.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.7572, allocations: 71.97 kB / 0.5995 GB, free: 41.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.761, allocations: 4.77 MB / 0.6041 GB, free: 37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.761, allocations: 27.86 kB / 0.6042 GB, free: 36.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.7661, allocations: 5.018 MB / 0.6091 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/0.7671, allocations: 477.8 kB / 0.6095 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.7673, allocations: 68.05 kB / 0.6096 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.7685, allocations: 127.8 kB / 0.6097 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.7687, allocations: 217.3 kB / 0.6099 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.7688, allocations: 88.09 kB / 0.61 GB, free: 30.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.7702, allocations: 1.291 MB / 0.6113 GB, free: 29.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7702, allocations: 0 / 0.6113 GB, free: 29.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003264/0.7734, allocations: 1.459 MB / 0.6127 GB, free: 28.03 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.0003135/0.7737, allocations: 226.5 kB / 0.6129 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.7778, allocations: 3.49 MB / 0.6163 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7778, allocations: 5.875 kB / 0.6163 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.7796, allocations: 1.596 MB / 0.6179 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7818, allocations: 0.5137 MB / 0.6184 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.795, allocations: 10.1 MB / 0.6282 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.7979, allocations: 3.996 MB / 0.6321 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002562/0.8004, allocations: 1.199 MB / 0.6333 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.8009, allocations: 199.4 kB / 0.6335 GB, free: 6.406 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8009, allocations: 0 / 0.6335 GB, free: 6.406 MB / 446.1 MB Notification: Performance of Templates: time 0.06736/0.8683, allocations: 35.08 MB / 0.6678 GB, free: 3.535 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 6.218478617956862]