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.001814/0.001814, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001803/0.001803, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.433/1.433, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001762/0.001762, allocations: 43.94 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2442, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01151/0.2557, allocations: 9.087 MB / 433 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.2619, allocations: 3.182 MB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.263, allocations: 51.69 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.2649, allocations: 0.7147 MB / 436.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.2672, allocations: 0.7535 MB / 437.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.2681, allocations: 339.3 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002944/0.2711, allocations: 2.105 MB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.2724, allocations: 0.8285 MB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.2738, allocations: 0.9305 MB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.2756, allocations: 1.164 MB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.276, allocations: 232 kB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.2766, allocations: 327.8 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007332/0.2774, allocations: 0.6738 MB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.2787, allocations: 1.085 MB / 445.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.2824, allocations: 3.127 MB / 448.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2824, allocations: 0 / 448.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2824, allocations: 0 / 448.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.92e-05/0.2825, allocations: 0 / 448.5 MB, free: 5.973 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.004717/0.2872, allocations: 2.239 MB / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2873, allocations: 8.031 kB / 450.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.2879, allocations: 239.6 kB / 450.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.2904, allocations: 1.152 MB / 452.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2905, allocations: 111.5 kB / 452.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.2907, allocations: 159.9 kB / 452.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.2942, allocations: 2.008 MB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.2942, allocations: 3.953 kB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.2944, allocations: 64 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.2945, allocations: 78.91 kB / 454.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.2974, allocations: 1.647 MB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.3083, allocations: 6.777 MB / 462.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/0.3091, allocations: 433.4 kB / 463.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.3095, allocations: 246 kB / 463.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.3097, allocations: 44.39 kB / 463.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3097, allocations: 43.41 kB / 463.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.235e-06/0.3097, allocations: 0 / 463.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007309/0.317, allocations: 3.16 MB / 466.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002672/0.3197, allocations: 2.235 MB / 469.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.3222, allocations: 1.623 MB / 470.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.3223, allocations: 37.7 kB / 470.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008796/0.3232, allocations: 1.045 MB / 471.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.3234, allocations: 254 kB / 472 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.3239, allocations: 323.4 kB / 472.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.324, allocations: 301.1 kB / 472.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008738/0.3249, allocations: 0.5192 MB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.3266, allocations: 1.461 MB / 474.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.3293, allocations: 2.137 MB / 476.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.3293, allocations: 8 kB / 476.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003786/0.3331, allocations: 2.166 MB / 478.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.3331, allocations: 24.25 kB / 479 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.3332, allocations: 36 kB / 479 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.3337, allocations: 222.4 kB / 479.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3349, allocations: 395.3 kB / 479.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.3369, allocations: 1.745 MB / 481.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3382, allocations: 147.6 kB / 481.5 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3383, allocations: 92 kB / 481.6 MB, free: 3.066 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.0009201/0.3393, allocations: 0.583 MB / 482.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.3395, allocations: 167 kB / 482.3 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.3416, allocations: 1.112 MB / 483.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3416, allocations: 8 kB / 483.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3416, allocations: 0 / 483.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3416, allocations: 3.984 kB / 483.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/0.3474, allocations: 3.309 MB / 486.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3474, allocations: 4 kB / 486.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3478, allocations: 111.8 kB / 486.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006282/0.3485, allocations: 226.8 kB / 487.1 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.3485, allocations: 16 kB / 487.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004232/0.3527, allocations: 3.851 MB / 491 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002228/0.355, allocations: 2.074 MB / 493 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.3577, allocations: 1.75 MB / 494.8 MB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007469/0.3585, allocations: 238.9 kB / 495 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.3587, allocations: 23.92 kB / 495 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.3593, allocations: 43.95 kB / 495.1 MB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3595, allocations: 71.77 kB / 495.1 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.3595, allocations: 24 kB / 495.2 MB, free: 4.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.3612, allocations: 1.074 MB / 496.2 MB, free: 3.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3612, allocations: 0 / 496.2 MB, free: 3.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001617/0.3628, allocations: 380 kB / 496.6 MB, free: 3.383 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.0003231/0.3631, allocations: 174.9 kB / 496.8 MB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3656, allocations: 1.408 MB / 498.2 MB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3656, allocations: 0.9375 kB / 498.2 MB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.3669, allocations: 0.7486 MB / 498.9 MB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.3688, allocations: 402.9 kB / 499.3 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.374, allocations: 3.281 MB / 0.4908 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.3752, allocations: 1.461 MB / 0.4923 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.3756, allocations: 119.4 kB / 0.4924 GB, free: 11.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3756, allocations: 0 / 0.4924 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.2539/0.6295, allocations: 47.49 MB / 0.5388 GB, free: 110.1 MB / 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: 12.109253561124206]