Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001853/0.001853, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002135/0.002135, allocations: 186 kB / 24.46 MB, free: 3.863 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.453/1.453, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.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.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 43.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01105/0.2441, allocations: 7.978 MB / 431.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.2499, allocations: 2.96 MB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000875/0.2507, allocations: 55.62 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.2524, allocations: 0.6481 MB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.2546, allocations: 0.7457 MB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.2554, allocations: 327.5 kB / 436.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.258, allocations: 2.109 MB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.2593, allocations: 0.7933 MB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.2607, allocations: 0.9382 MB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.2625, allocations: 1.074 MB / 441.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.2628, allocations: 236 kB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.2635, allocations: 315.8 kB / 442 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007685/0.2643, allocations: 0.6855 MB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2653, allocations: 0.8712 MB / 443.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.2688, allocations: 3.133 MB / 446.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2688, allocations: 4 kB / 446.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2688, allocations: 3.938 kB / 446.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.255e-05/0.2689, allocations: 4 kB / 446.7 MB, free: 7.477 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004349/0.2732, allocations: 2.239 MB / 448.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2733, allocations: 12.03 kB / 448.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.2739, allocations: 243.6 kB / 449.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.2761, allocations: 1.152 MB / 450.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.2762, allocations: 115.4 kB / 450.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.2764, allocations: 155.9 kB / 450.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.2797, allocations: 2.08 MB / 452.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.2798, allocations: 15.94 kB / 452.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.2799, allocations: 71.97 kB / 452.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.28, allocations: 78.92 kB / 452.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.2828, allocations: 1.643 MB / 454.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009771/0.2926, allocations: 6.038 MB / 460.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.2934, allocations: 426.2 kB / 460.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.2938, allocations: 250 kB / 461.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.294, allocations: 40.34 kB / 461.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.294, allocations: 39 kB / 461.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.564e-06/0.294, allocations: 0 / 461.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007161/0.3012, allocations: 3.161 MB / 464.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002591/0.3038, allocations: 2.18 MB / 466.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.3061, allocations: 1.519 MB / 468.1 MB, free: 1.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/0.3061, allocations: 37.7 kB / 468.2 MB, free: 1.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/0.307, allocations: 1.067 MB / 469.2 MB, free: 260 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3073, allocations: 250 kB / 469.5 MB, free: 8 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/0.3078, allocations: 327.3 kB / 469.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3079, allocations: 301.1 kB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.3088, allocations: 0.5114 MB / 470.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.3105, allocations: 1.469 MB / 472.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.3132, allocations: 2.138 MB / 474.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.3132, allocations: 12 kB / 474.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003682/0.3169, allocations: 2.146 MB / 476.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.3169, allocations: 20.94 kB / 476.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.317, allocations: 47.88 kB / 476.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.3175, allocations: 230.4 kB / 476.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3187, allocations: 391.3 kB / 477 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.3205, allocations: 1.718 MB / 478.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3218, allocations: 143.7 kB / 478.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.3219, allocations: 95.98 kB / 479 MB, free: 5.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009171/0.3228, allocations: 0.5906 MB / 479.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.3231, allocations: 143.1 kB / 479.7 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.325, allocations: 1.095 MB / 480.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.325, allocations: 8 kB / 480.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.325, allocations: 3.984 kB / 480.8 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3251, allocations: 0 / 480.8 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.3305, allocations: 3.017 MB / 483.8 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3305, allocations: 4.656 kB / 483.8 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.331, allocations: 107.9 kB / 483.9 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.3316, allocations: 230.3 kB / 484.2 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.3317, allocations: 23.94 kB / 484.2 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.336, allocations: 3.789 MB / 488 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002203/0.3382, allocations: 2.04 MB / 490 MB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.341, allocations: 1.738 MB / 491.8 MB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/0.3418, allocations: 219 kB / 492 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.3421, allocations: 19.94 kB / 492 MB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/0.3429, allocations: 51.94 kB / 492 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.343, allocations: 63.77 kB / 492.1 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.3431, allocations: 24 kB / 492.1 MB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.3447, allocations: 0.9615 MB / 493.1 MB, free: 6.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3447, allocations: 4.062 kB / 493.1 MB, free: 6.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001683/0.3464, allocations: 379.9 kB / 493.5 MB, free: 6.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003184/0.3467, allocations: 171 kB / 493.6 MB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3492, allocations: 1.42 MB / 495.1 MB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.3492, allocations: 448 / 495.1 MB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.3505, allocations: 0.7487 MB / 495.8 MB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.3523, allocations: 352.1 kB / 496.1 MB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.3575, allocations: 3.243 MB / 499.4 MB, free: 240 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.3585, allocations: 0.8732 MB / 0.4885 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.3589, allocations: 119.4 kB / 0.4886 GB, free: 15.21 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3589, allocations: 0 / 0.4886 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Templates: time 0.06051/0.4194, allocations: 47.16 MB / 0.5347 GB, free: 108 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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: 11.086090770084411]