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.001516/0.001516, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001753/0.001753, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.366/1.366, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.001852/0.001852, allocations: 67.83 kB / 378.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01166/0.2497, allocations: 9.196 MB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.2559, allocations: 3.198 MB / 444.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.257, allocations: 43.81 kB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2588, allocations: 0.7302 MB / 445.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.2608, allocations: 0.7534 MB / 446 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.2616, allocations: 323.4 kB / 446.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.2641, allocations: 2.151 MB / 448.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.2653, allocations: 0.832 MB / 449.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.2666, allocations: 0.9265 MB / 450.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2682, allocations: 1.175 MB / 451.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.2685, allocations: 232 kB / 451.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.2692, allocations: 335.8 kB / 451.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007367/0.2699, allocations: 0.6894 MB / 452.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.271, allocations: 1.093 MB / 453.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.2745, allocations: 3.149 MB / 456.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2745, allocations: 0 / 456.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2745, allocations: 4 kB / 456.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.889e-05/0.2745, allocations: 0 / 456.9 MB, free: 14.39 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.004622/0.2791, allocations: 2.349 MB / 459.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2792, allocations: 12.02 kB / 459.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.2799, allocations: 247.5 kB / 459.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.2821, allocations: 1.236 MB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.2822, allocations: 123.5 kB / 460.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.2825, allocations: 155.9 kB / 461 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.2857, allocations: 2.033 MB / 463 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.2858, allocations: 7.938 kB / 463 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.2859, allocations: 67.94 kB / 463.1 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.286, allocations: 78.94 kB / 463.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.2889, allocations: 1.682 MB / 464.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.2991, allocations: 7.056 MB / 471.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009089/0.3, allocations: 460.4 kB / 472.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.3005, allocations: 262 kB / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.3007, allocations: 113.5 kB / 472.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3007, allocations: 39.47 kB / 472.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.494e-06/0.3007, allocations: 0 / 472.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007026/0.3078, allocations: 3.068 MB / 475.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.3078, allocations: 55.97 kB / 475.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.3102, allocations: 1.632 MB / 477.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.3103, allocations: 37.7 kB / 477.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008738/0.3111, allocations: 1.064 MB / 478.6 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.3114, allocations: 246 kB / 478.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.3118, allocations: 327.3 kB / 479.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3119, allocations: 301.1 kB / 479.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.3128, allocations: 0.5231 MB / 480 MB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.3145, allocations: 1.458 MB / 481.4 MB, free: 4.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.3173, allocations: 2.134 MB / 483.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.3173, allocations: 12 kB / 483.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003747/0.3211, allocations: 2.173 MB / 485.8 MB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.3211, allocations: 18.97 kB / 485.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/0.3212, allocations: 40 kB / 485.8 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.3217, allocations: 226.4 kB / 486 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.3229, allocations: 395.6 kB / 486.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3249, allocations: 1.847 MB / 488.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3262, allocations: 143.7 kB / 488.4 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.3263, allocations: 92 kB / 488.5 MB, free: 13 MB / 398.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.0008861/0.3272, allocations: 0.5944 MB / 489.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.3274, allocations: 167 kB / 489.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.3294, allocations: 1.086 MB / 490.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3294, allocations: 8 kB / 490.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3294, allocations: 0 / 490.4 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3294, allocations: 3.984 kB / 490.4 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.3341, allocations: 2.748 MB / 493.1 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3341, allocations: 4 kB / 493.1 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.3347, allocations: 124 kB / 493.2 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.3351, allocations: 166.4 kB / 493.4 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.3351, allocations: 12 kB / 493.4 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.3369, allocations: 1.786 MB / 495.2 MB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.3369, allocations: 11.91 kB / 495.2 MB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.3397, allocations: 1.64 MB / 496.8 MB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.3404, allocations: 308 kB / 497.1 MB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.3406, allocations: 12 kB / 497.2 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.3412, allocations: 56 kB / 497.2 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3414, allocations: 48.38 kB / 497.3 MB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.3414, allocations: 19.98 kB / 497.3 MB, free: 3.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.3431, allocations: 1.083 MB / 498.4 MB, free: 2.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3431, allocations: 0 / 498.4 MB, free: 2.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001402/0.3445, allocations: 363.9 kB / 498.7 MB, free: 2.445 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.0003338/0.3448, allocations: 167 kB / 498.9 MB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.3475, allocations: 1.571 MB / 0.4887 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3475, allocations: 4.609 kB / 0.4887 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3486, allocations: 0.7242 MB / 0.4894 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.3504, allocations: 413.8 kB / 0.4898 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.3552, allocations: 3.08 MB / 0.4928 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.3564, allocations: 1.449 MB / 0.4942 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.3567, allocations: 123.4 kB / 0.4944 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3567, allocations: 0 / 0.4944 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Templates: time 0.2714/0.6281, allocations: 47.62 MB / 0.5409 GB, free: 104.2 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.0298066502437]