Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001303/0.001303, allocations: 82.58 kB / 20.68 MB, free: 1.035 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.001644/0.001644, allocations: 163.2 kB / 23.95 MB, free: 4.168 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.234e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01777/0.01779, allocations: 14.28 MB / 339.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00965/0.02744, allocations: 4.036 MB / 343.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.03041, allocations: 163.2 kB / 343.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.04799, allocations: 7.34 MB / 350.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.05409, allocations: 1.369 MB / 352.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.05777, allocations: 1.223 MB / 353.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.06849, allocations: 8.584 MB / 362.1 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0274/0.09589, allocations: 14.26 MB / 376.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/0.1085, allocations: 7.325 MB / 383.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008438/0.117, allocations: 4.628 MB / 388.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002873/0.1198, allocations: 1.383 MB / 389.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.1238, allocations: 1.671 MB / 391.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.1266, allocations: 2.63 MB / 394 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005518/0.1321, allocations: 3.486 MB / 397.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02239/0.1545, allocations: 18.53 MB / 416 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1545, allocations: 0 / 416 MB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1545, allocations: 0 / 416 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004002/0.1549, allocations: 4 kB / 416 MB, free: 9.871 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.0288/0.1837, allocations: 10.47 MB / 426.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1837, allocations: 8.031 kB / 426.4 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.2038, allocations: 3.714 MB / 430.2 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.2153, allocations: 5.436 MB / 435.6 MB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/0.2159, allocations: 0.6789 MB / 436.3 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002673/0.2186, allocations: 0.8905 MB / 437.2 MB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/0.2455, allocations: 12.81 MB / 450 MB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.2457, allocations: 11.95 kB / 450 MB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009881/0.2466, allocations: 376 kB / 450.4 MB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/0.2471, allocations: 403.1 kB / 450.8 MB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.2691, allocations: 11.4 MB / 462.2 MB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3486/0.6178, allocations: 37.39 MB / 499.5 MB, free: 96.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/0.6248, allocations: 4.161 MB / 0.4919 GB, free: 94.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.6264, allocations: 1.54 MB / 0.4934 GB, free: 94.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.6265, allocations: 69.67 kB / 0.4935 GB, free: 94.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6266, allocations: 56.03 kB / 0.4935 GB, free: 93.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=223): time 4.669e-06/0.6266, allocations: 0 / 0.4935 GB, free: 93.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.007094/0.6337, allocations: 4.603 MB / 0.498 GB, free: 91.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6337, allocations: 72.06 kB / 0.4981 GB, free: 91.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.6366, allocations: 3.039 MB / 0.5011 GB, free: 89.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.6367, allocations: 60.8 kB / 0.5011 GB, free: 89.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.638, allocations: 3.968 MB / 0.505 GB, free: 87.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.6384, allocations: 0.8175 MB / 0.5058 GB, free: 86.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009735/0.6394, allocations: 0.9471 MB / 0.5067 GB, free: 85.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.6394, allocations: 312.7 kB / 0.507 GB, free: 85.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.6415, allocations: 1.977 MB / 0.5089 GB, free: 84.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002693/0.6442, allocations: 4.159 MB / 0.513 GB, free: 80 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.6492, allocations: 6.517 MB / 0.5194 GB, free: 72.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/0.6492, allocations: 20 kB / 0.5194 GB, free: 72.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007628/0.6569, allocations: 6.528 MB / 0.5258 GB, free: 65.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.6569, allocations: 40 kB / 0.5258 GB, free: 65.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.45e-05/0.657, allocations: 72 kB / 0.5259 GB, free: 65.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.6577, allocations: 409.3 kB / 0.5263 GB, free: 65.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.6606, allocations: 1.065 MB / 0.5273 GB, free: 64.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.6644, allocations: 4.184 MB / 0.5314 GB, free: 60.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.6672, allocations: 0.6286 MB / 0.532 GB, free: 59.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.6676, allocations: 252 kB / 0.5322 GB, free: 59.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003743/0.6713, allocations: 3.369 MB / 0.5355 GB, free: 55.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.6718, allocations: 286.1 kB / 0.5358 GB, free: 55.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.6763, allocations: 3.577 MB / 0.5393 GB, free: 51.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003226/0.6795, allocations: 2.815 MB / 0.542 GB, free: 49.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6795, allocations: 4 kB / 0.542 GB, free: 49.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6795, allocations: 11.95 kB / 0.5421 GB, free: 49.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6902, allocations: 8.008 MB / 0.5499 GB, free: 41.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6903, allocations: 0 / 0.5499 GB, free: 41.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.6917, allocations: 415.4 kB / 0.5503 GB, free: 40.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006064/0.6923, allocations: 317.1 kB / 0.5506 GB, free: 40.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.6924, allocations: 51.98 kB / 0.5506 GB, free: 40.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/0.696, allocations: 4 MB / 0.5545 GB, free: 36.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.696, allocations: 11.27 kB / 0.5545 GB, free: 36.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.7016, allocations: 5.132 MB / 0.5595 GB, free: 30.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009168/0.7025, allocations: 0.5483 MB / 0.5601 GB, free: 30.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.7028, allocations: 44 kB / 0.5601 GB, free: 30.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7039, allocations: 131.9 kB / 0.5603 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7042, allocations: 169.6 kB / 0.5604 GB, free: 30.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.7043, allocations: 63.98 kB / 0.5605 GB, free: 30.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.7063, allocations: 1.939 MB / 0.5624 GB, free: 28.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7063, allocations: 0 / 0.5624 GB, free: 28.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004025/0.7103, allocations: 1.988 MB / 0.5643 GB, free: 26.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003749/0.7107, allocations: 214.2 kB / 0.5645 GB, free: 25.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005207/0.7159, allocations: 4.44 MB / 0.5689 GB, free: 21.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7159, allocations: 0 / 0.5689 GB, free: 21.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.7177, allocations: 1.626 MB / 0.5704 GB, free: 19.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.7206, allocations: 0.6645 MB / 0.5711 GB, free: 19.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.7392, allocations: 13.48 MB / 0.5843 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/0.7433, allocations: 5.168 MB / 0.5893 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003786/0.7471, allocations: 1.69 MB / 0.5909 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/0.7478, allocations: 240.5 kB / 0.5912 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7478, allocations: 3.938 kB / 0.5912 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Templates: time 0.1011/0.8489, allocations: 38.65 MB / 0.6289 GB, free: 8.254 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.386756848543882]