Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001285/0.001285, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.002128/0.002128, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2177/0.3212, allocations: 9.156 MB / 437 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.3266, allocations: 3.189 MB / 440.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3276, allocations: 44.06 kB / 440.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3294, allocations: 0.7225 MB / 441 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.3314, allocations: 0.7547 MB / 441.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.3321, allocations: 312.5 kB / 442 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.3347, allocations: 2.144 MB / 444.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.336, allocations: 1.025 MB / 445.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.338, allocations: 0.9306 MB / 446.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.3405, allocations: 1.178 MB / 447.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.341, allocations: 232.3 kB / 447.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.3422, allocations: 335.4 kB / 447.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008099/0.343, allocations: 0.6877 MB / 448.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.3444, allocations: 1.096 MB / 449.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.3499, allocations: 3.15 MB / 452.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3499, allocations: 0 / 452.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3499, allocations: 0.75 kB / 452.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001273/0.35, allocations: 1.062 kB / 452.8 MB, free: 15.47 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.006115/0.3562, allocations: 2.358 MB / 455.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3562, allocations: 9.625 kB / 455.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.357, allocations: 245.5 kB / 455.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3593, allocations: 1.246 MB / 456.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3594, allocations: 117 kB / 456.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.3597, allocations: 152.8 kB / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.3638, allocations: 2.034 MB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/0.3638, allocations: 7.234 kB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.364, allocations: 65.94 kB / 459 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.3641, allocations: 79.14 kB / 459.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003574/0.3677, allocations: 1.673 MB / 460.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.3791, allocations: 7.06 MB / 467.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.38, allocations: 456.3 kB / 468.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.3805, allocations: 263.2 kB / 468.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.3807, allocations: 124.6 kB / 468.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3808, allocations: 38.22 kB / 468.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.155e-06/0.3808, allocations: 0 / 468.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007417/0.3882, allocations: 3.059 MB / 471.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3882, allocations: 62.41 kB / 471.8 MB, free: 2.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.3906, allocations: 1.631 MB / 473.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.3907, allocations: 36.36 kB / 473.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/0.3915, allocations: 1.064 MB / 474.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.3918, allocations: 248.4 kB / 474.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/0.3923, allocations: 323.2 kB / 475.1 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3924, allocations: 302.5 kB / 475.4 MB, free: 272 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009472/0.3933, allocations: 0.5299 MB / 475.9 MB, free: 4 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.3951, allocations: 1.448 MB / 477.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.3981, allocations: 2.137 MB / 479.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.3981, allocations: 12 kB / 479.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004322/0.4024, allocations: 2.161 MB / 481.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4025, allocations: 20 kB / 481.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/0.4025, allocations: 32.84 kB / 481.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.4031, allocations: 234.5 kB / 481.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4044, allocations: 399.2 kB / 482.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.4064, allocations: 1.844 MB / 484.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.408, allocations: 148.5 kB / 484.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.4082, allocations: 95.98 kB / 484.4 MB, free: 6.578 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.001028/0.4092, allocations: 0.5905 MB / 485 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.4095, allocations: 163 kB / 485.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.4118, allocations: 1.086 MB / 486.3 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.4118, allocations: 8 kB / 486.3 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4118, allocations: 0 / 486.3 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4118, allocations: 7.984 kB / 486.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005256/0.4171, allocations: 2.751 MB / 489 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.4171, allocations: 7.938 kB / 489 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.4176, allocations: 119.8 kB / 489.1 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.4181, allocations: 170.6 kB / 489.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.4182, allocations: 12 kB / 489.3 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.4201, allocations: 1.788 MB / 491.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4201, allocations: 0 / 491.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.4231, allocations: 1.64 MB / 492.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/0.4238, allocations: 308 kB / 493.1 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.424, allocations: 15.98 kB / 493.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/0.4247, allocations: 51.94 kB / 493.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.4248, allocations: 44.44 kB / 493.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.4249, allocations: 16.06 kB / 493.2 MB, free: 13.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.4266, allocations: 1.09 MB / 494.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4266, allocations: 0 / 494.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00155/0.4282, allocations: 363.9 kB / 494.6 MB, free: 12.05 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.0003372/0.4285, allocations: 172.4 kB / 494.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.4313, allocations: 1.572 MB / 496.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4313, allocations: 4 kB / 496.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.4326, allocations: 0.7245 MB / 497.1 MB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.4345, allocations: 412.7 kB / 497.5 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.4397, allocations: 3.069 MB / 0.4888 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.4409, allocations: 1.449 MB / 0.4902 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.4413, allocations: 123.4 kB / 0.4904 GB, free: 4.379 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4413, allocations: 3.938 kB / 0.4904 GB, free: 4.375 MB / 398.1 MB Notification: Performance of Templates: time 0.06144/0.5027, allocations: 47.62 MB / 0.5369 GB, free: 4.805 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.191109597915784]