Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.001277/0.001277, allocations: 89.56 kB / 21.44 MB, free: 276 kB / 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.001616/0.001616, allocations: 162.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.315e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01178/0.01181, allocations: 8.976 MB / 307.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006307/0.01811, allocations: 3.113 MB / 311.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.01939, allocations: 67.5 kB / 311.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.02148, allocations: 0.6983 MB / 311.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.02432, allocations: 0.9159 MB / 312.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.02533, allocations: 419.2 kB / 313.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.02906, allocations: 3.073 MB / 316.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.03103, allocations: 1.305 MB / 317.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.03401, allocations: 2.004 MB / 319.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.03668, allocations: 1.488 MB / 321 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006946/0.03738, allocations: 359.9 kB / 321.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009906/0.03837, allocations: 459.7 kB / 321.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.03948, allocations: 1.056 MB / 322.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1352/0.1747, allocations: 1.097 MB / 324 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.1795, allocations: 4.744 MB / 328.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1795, allocations: 0 / 328.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1795, allocations: 1.812 kB / 328.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.543e-05/0.1796, allocations: 0 / 328.7 MB, free: 18.73 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006046/0.1856, allocations: 3.23 MB / 331.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1856, allocations: 12.83 kB / 332 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.1864, allocations: 345.2 kB / 332.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.1891, allocations: 1.59 MB / 333.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1892, allocations: 176.2 kB / 334.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.1895, allocations: 237.4 kB / 334.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/0.1943, allocations: 3.235 MB / 337.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.1943, allocations: 13.89 kB / 337.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.1946, allocations: 96.19 kB / 337.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.1947, allocations: 106.4 kB / 337.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004068/0.1987, allocations: 2.69 MB / 340.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.2102, allocations: 8.394 MB / 348.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2121, allocations: 1.418 MB / 350.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2137, allocations: 1.043 MB / 351.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.2139, allocations: 51.09 kB / 351.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2139, allocations: 44.81 kB / 351.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.797e-06/0.2139, allocations: 7.984 kB / 351.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.01185/0.2258, allocations: 6.273 MB / 357.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2258, allocations: 64.72 kB / 357.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.2275, allocations: 1.607 MB / 359.3 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.2276, allocations: 49.7 kB / 359.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/0.2284, allocations: 1.187 MB / 360.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.2288, allocations: 465.2 kB / 361 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.2293, allocations: 287.5 kB / 361.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2295, allocations: 301.1 kB / 361.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.2309, allocations: 0.7925 MB / 362.4 MB, free: 13.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.2326, allocations: 1.201 MB / 363.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.2358, allocations: 2.098 MB / 365.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.2358, allocations: 5.875 kB / 365.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004692/0.2405, allocations: 2.589 MB / 368.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2405, allocations: 14.66 kB / 368.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.2405, allocations: 14.08 kB / 368.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.2416, allocations: 419.4 kB / 368.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.243, allocations: 356.4 kB / 369.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.2504, allocations: 6.633 MB / 375.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2518, allocations: 108.4 kB / 375.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.252, allocations: 67.98 kB / 375.9 MB, free: 15.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.2534, allocations: 0.7875 MB / 376.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.2538, allocations: 182.8 kB / 376.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.2581, allocations: 2.278 MB / 379.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2581, allocations: 14.84 kB / 379.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.2581, allocations: 7.469 kB / 379.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.2581, allocations: 7.969 kB / 379.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/0.2664, allocations: 4.418 MB / 383.6 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.2664, allocations: 4 kB / 383.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.2675, allocations: 238.5 kB / 383.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.2687, allocations: 450.3 kB / 384.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.2688, allocations: 39.98 kB / 384.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/0.2774, allocations: 8.086 MB / 392.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2774, allocations: 4 kB / 392.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.2832, allocations: 3.428 MB / 395.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/0.2841, allocations: 346.7 kB / 396.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.2843, allocations: 35.98 kB / 396.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.2853, allocations: 87.91 kB / 396.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.2855, allocations: 127.6 kB / 396.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.2856, allocations: 39.98 kB / 396.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.2873, allocations: 1.085 MB / 397.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2873, allocations: 0 / 397.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001737/0.2891, allocations: 0.4999 MB / 398 MB, free: 8.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.2895, allocations: 204.3 kB / 398.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.2935, allocations: 2.317 MB / 400.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2935, allocations: 0 / 400.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.2963, allocations: 1.555 MB / 402.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.2982, allocations: 405.7 kB / 402.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.3064, allocations: 4.937 MB / 407.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.3081, allocations: 1.434 MB / 408.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.3092, allocations: 430.2 kB / 409.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.3096, allocations: 124.5 kB / 409.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3096, allocations: 0 / 409.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Templates: time 0.04712/0.3567, allocations: 26.69 MB / 436.1 MB, free: 2.809 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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: 5.0330953896045685]