Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toPolar.y.1.|toPolar.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toPolar.y.1.|toPolar.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.86 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1286, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2599/0.3885, allocations: 9.159 MB / 437.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006187/0.3947, allocations: 3.18 MB / 440.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.3961, allocations: 44.44 kB / 440.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.3982, allocations: 0.7238 MB / 441.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.4013, allocations: 0.7549 MB / 441.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.4022, allocations: 316.7 kB / 442.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.4051, allocations: 2.143 MB / 444.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4064, allocations: 1.021 MB / 445.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.408, allocations: 0.9457 MB / 446.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.4098, allocations: 1.168 MB / 447.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.4103, allocations: 231.9 kB / 447.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008387/0.4111, allocations: 330.2 kB / 448.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007466/0.4118, allocations: 0.6924 MB / 448.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.413, allocations: 1.098 MB / 449.8 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.4173, allocations: 3.146 MB / 453 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4173, allocations: 0 / 453 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4173, allocations: 0 / 453 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.4173, allocations: 0 / 453 MB, free: 15.28 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.005297/0.4226, allocations: 2.359 MB / 455.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4227, allocations: 8.844 kB / 455.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.4235, allocations: 242.5 kB / 455.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.4257, allocations: 1.251 MB / 456.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.4258, allocations: 114.6 kB / 457 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.4261, allocations: 160.9 kB / 457.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.4297, allocations: 2.029 MB / 459.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/0.4298, allocations: 10.05 kB / 459.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.4299, allocations: 66.58 kB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.43, allocations: 80.52 kB / 459.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.4331, allocations: 1.68 MB / 461 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.4444, allocations: 7.05 MB / 468 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.4453, allocations: 456.5 kB / 468.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.4458, allocations: 262.8 kB / 468.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.446, allocations: 121.8 kB / 468.8 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.4461, allocations: 37.66 kB / 468.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.065e-06/0.4461, allocations: 0 / 468.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.00755/0.4536, allocations: 3.059 MB / 471.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4537, allocations: 63.62 kB / 472 MB, free: 2.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.4564, allocations: 1.631 MB / 473.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.4564, allocations: 36.14 kB / 473.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009566/0.4574, allocations: 1.064 MB / 474.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.4576, allocations: 252 kB / 475 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/0.4581, allocations: 324.2 kB / 475.3 MB, free: 376 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4583, allocations: 301.1 kB / 475.6 MB, free: 72 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/0.4592, allocations: 0.5221 MB / 476.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.461, allocations: 1.457 MB / 477.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.4639, allocations: 2.134 MB / 479.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.464, allocations: 8.875 kB / 479.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004038/0.468, allocations: 2.169 MB / 481.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.468, allocations: 20.19 kB / 481.9 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/0.4681, allocations: 36 kB / 481.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.4687, allocations: 226.4 kB / 482.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.4699, allocations: 403.2 kB / 482.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.4719, allocations: 1.85 MB / 484.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.4736, allocations: 143.7 kB / 484.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4737, allocations: 99.94 kB / 484.6 MB, free: 6.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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.001043/0.4747, allocations: 0.5866 MB / 485.2 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.475, allocations: 163 kB / 485.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.4772, allocations: 1.094 MB / 486.5 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4772, allocations: 4 kB / 486.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4772, allocations: 8 kB / 486.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4772, allocations: 3.984 kB / 486.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/0.4823, allocations: 2.738 MB / 489.2 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4823, allocations: 7.875 kB / 489.2 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.4828, allocations: 127.8 kB / 489.4 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.4833, allocations: 162.6 kB / 489.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.4833, allocations: 15.98 kB / 489.5 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.4852, allocations: 1.78 MB / 491.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4852, allocations: 0 / 491.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.488, allocations: 1.644 MB / 493 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.4887, allocations: 308 kB / 493.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4889, allocations: 12.75 kB / 493.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.4895, allocations: 51.94 kB / 493.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.4897, allocations: 48.5 kB / 493.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.4897, allocations: 20 kB / 493.4 MB, free: 13.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001801/0.4915, allocations: 1.079 MB / 494.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4915, allocations: 0 / 494.5 MB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001591/0.4931, allocations: 367.9 kB / 494.8 MB, free: 11.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * 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 Backend phase and start with SimCode phase: time 0.000344/0.4935, allocations: 168.2 kB / 495 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.4964, allocations: 1.579 MB / 496.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4964, allocations: 3.938 kB / 496.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.4976, allocations: 0.7284 MB / 497.3 MB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.4994, allocations: 409.5 kB / 497.7 MB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.5047, allocations: 3.069 MB / 0.489 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.506, allocations: 1.453 MB / 0.4905 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.5064, allocations: 119.4 kB / 0.4906 GB, free: 4.203 MB / 398.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5064, allocations: 0 / 0.4906 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Templates: time 0.06227/0.5687, allocations: 47.62 MB / 0.5371 GB, free: 4.637 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[806]=0.040000 File[3272]=0.320000 " [Timeout remaining time 660] "" Variables in the reference:time,toPolar.y[1],toPolar.y[2],hallSensor.y Variables in the result:hallSensor.y,time,toPolar.y[1],toPolar.y[2] [Calling sys.exit(0), Time elapsed: 11.535152241121978]