Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003747/0.003747, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8474/0.8474, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.712e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007773/0.00781, allocations: 8.093 MB / 333.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.01305, allocations: 3.003 MB / 336.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008291/0.01388, allocations: 55.62 kB / 337 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.01517, allocations: 0.6521 MB / 337.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.01679, allocations: 0.7995 MB / 338.4 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.01731, allocations: 315.4 kB / 338.7 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.01907, allocations: 2.222 MB / 341 MB, free: 224 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.01989, allocations: 0.7934 MB / 341.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.02112, allocations: 1.376 MB / 343.1 MB, free: 14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008561/0.02198, allocations: 0.9857 MB / 344.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.02215, allocations: 232 kB / 344.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.02253, allocations: 331.7 kB / 344.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.02294, allocations: 0.7089 MB / 345.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.02343, allocations: 0.7522 MB / 346.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.02538, allocations: 3.166 MB / 349.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02538, allocations: 0 / 349.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.02538, allocations: 0 / 349.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.0254, allocations: 4 kB / 349.3 MB, free: 7.816 MB / 314.7 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.002348/0.02775, allocations: 2.251 MB / 351.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.02779, allocations: 12.03 kB / 351.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.02817, allocations: 239.5 kB / 351.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.02944, allocations: 1.179 MB / 353 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.0295, allocations: 115.5 kB / 353.1 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.02965, allocations: 160.4 kB / 353.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.03167, allocations: 2.104 MB / 355.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.0317, allocations: 11.89 kB / 355.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/0.0318, allocations: 67.98 kB / 355.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/0.03186, allocations: 78.92 kB / 355.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.03364, allocations: 1.671 MB / 357.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.03925, allocations: 6.197 MB / 363.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.0398, allocations: 445.8 kB / 363.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.04006, allocations: 270.2 kB / 364.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.0402, allocations: 44.41 kB / 364.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.04022, allocations: 39.06 kB / 364.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.04022, allocations: 0 / 364.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.003624/0.04385, allocations: 2.895 MB / 367.1 MB, free: 5.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.04388, allocations: 60.06 kB / 367.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.04514, allocations: 1.547 MB / 368.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.04518, allocations: 37.64 kB / 368.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.04566, allocations: 1.064 MB / 369.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.04579, allocations: 250 kB / 370 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.04605, allocations: 319.3 kB / 370.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/0.0464, allocations: 301.1 kB / 370.6 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.04694, allocations: 0.5231 MB / 371.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.0479, allocations: 1.454 MB / 372.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.04948, allocations: 2.128 MB / 374.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.04949, allocations: 16 kB / 374.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002422/0.05191, allocations: 2.152 MB / 376.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.05194, allocations: 20 kB / 376.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.05196, allocations: 32 kB / 376.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.05234, allocations: 230.9 kB / 377.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.05298, allocations: 403.2 kB / 377.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.05418, allocations: 1.717 MB / 379.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.05491, allocations: 143.7 kB / 379.4 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.055, allocations: 92 kB / 379.5 MB, free: 7.988 MB / 346.7 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.0007235/0.05572, allocations: 0.5867 MB / 380.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.05586, allocations: 151 kB / 380.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.05709, allocations: 1.084 MB / 381.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.0571, allocations: 8 kB / 381.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.0571, allocations: 0 / 381.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.05711, allocations: 3.938 kB / 381.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.0598, allocations: 2.372 MB / 383.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.0598, allocations: 4 kB / 383.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.06008, allocations: 127.7 kB / 383.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.06069, allocations: 174.5 kB / 384 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.06072, allocations: 12 kB / 384 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.06177, allocations: 1.663 MB / 385.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.06177, allocations: 0 / 385.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.06331, allocations: 1.623 MB / 387.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.06359, allocations: 219 kB / 387.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.06368, allocations: 15.94 kB / 387.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.06399, allocations: 56 kB / 387.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.06408, allocations: 44.41 kB / 387.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.0641, allocations: 16 kB / 387.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008939/0.06499, allocations: 0.9778 MB / 388.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.06499, allocations: 0 / 388.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009294/0.06592, allocations: 363.9 kB / 389 MB, free: 14.24 MB / 362.7 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.0003167/0.06624, allocations: 176.1 kB / 389.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.06798, allocations: 1.417 MB / 390.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.06798, allocations: 0 / 390.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.06883, allocations: 0.5736 MB / 391.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.06972, allocations: 365.3 kB / 391.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.07292, allocations: 2.996 MB / 394.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.07356, allocations: 0.87 MB / 395.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.07376, allocations: 128.4 kB / 395.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.07376, allocations: 0 / 395.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of Templates: time 0.03294/0.1067, allocations: 47.25 MB / 442.7 MB, free: 8.398 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.743994677439332]