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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 109.7 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.0009629, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2236, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007562/0.2312, allocations: 9.031 MB / 416.1 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.2358, allocations: 3.156 MB / 419.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.237, allocations: 39.81 kB / 419.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2388, allocations: 0.606 MB / 419.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.2403, allocations: 0.6333 MB / 420.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.2409, allocations: 282.5 kB / 420.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.2426, allocations: 2.483 MB / 423.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.2436, allocations: 1.192 MB / 424.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.2444, allocations: 0.8209 MB / 425.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008957/0.2454, allocations: 1.105 MB / 426.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.2456, allocations: 144 kB / 426.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.246, allocations: 251.7 kB / 426.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.2464, allocations: 0.5958 MB / 427.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.2471, allocations: 0.9951 MB / 428.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2488, allocations: 3.029 MB / 431.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2488, allocations: 0 / 431.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2488, allocations: 3.938 kB / 431.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.2488, allocations: 0 / 431.4 MB, free: 3.371 MB / 298.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.003624/0.2525, allocations: 2.293 MB / 433.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2525, allocations: 12.03 kB / 433.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.253, allocations: 234.4 kB / 433.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.2549, allocations: 1.189 MB / 435.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.255, allocations: 115.5 kB / 435.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.2552, allocations: 159.7 kB / 435.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.2583, allocations: 2.029 MB / 437.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.2584, allocations: 11.84 kB / 437.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.2585, allocations: 67.98 kB / 437.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/0.2586, allocations: 94.84 kB / 437.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.2612, allocations: 1.674 MB / 439.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009593/0.2708, allocations: 7.084 MB / 446.4 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.2717, allocations: 475.8 kB / 446.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.2722, allocations: 274 kB / 447.1 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.2724, allocations: 117.5 kB / 447.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2724, allocations: 35 kB / 447.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.2724, allocations: 0 / 447.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.00671/0.2791, allocations: 3.037 MB / 450.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2792, allocations: 59.97 kB / 450.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.2816, allocations: 1.628 MB / 452 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.2817, allocations: 37.7 kB / 452 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/0.2824, allocations: 1.03 MB / 453 MB, free: 13.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.2826, allocations: 232.8 kB / 453.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.283, allocations: 323.1 kB / 453.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.2831, allocations: 305.1 kB / 453.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008464/0.284, allocations: 0.5231 MB / 454.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.2854, allocations: 1.454 MB / 455.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.2878, allocations: 2.137 MB / 458 MB, free: 7.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.2878, allocations: 11.94 kB / 458 MB, free: 7.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00345/0.2913, allocations: 2.16 MB / 460.2 MB, free: 5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2913, allocations: 20 kB / 460.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.2914, allocations: 32 kB / 460.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.2919, allocations: 226.3 kB / 460.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.293, allocations: 403.6 kB / 460.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2946, allocations: 1.721 MB / 462.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2961, allocations: 139.4 kB / 462.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.2962, allocations: 95.98 kB / 462.8 MB, free: 2.23 MB / 330.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.0008535/0.297, allocations: 0.5911 MB / 463.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.2973, allocations: 158 kB / 463.5 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.2993, allocations: 1.083 MB / 464.6 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2993, allocations: 7.938 kB / 464.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2994, allocations: 8 kB / 464.6 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2994, allocations: 3.984 kB / 464.6 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.304, allocations: 2.762 MB / 467.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.304, allocations: 3.938 kB / 467.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.3045, allocations: 123.8 kB / 467.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.305, allocations: 166.4 kB / 467.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.305, allocations: 20.09 kB / 467.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3066, allocations: 1.647 MB / 469.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3066, allocations: 0 / 469.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/0.3132, allocations: 4.152 MB / 473.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.3139, allocations: 303.1 kB / 473.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.3141, allocations: 16 kB / 473.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.3148, allocations: 52.03 kB / 473.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.315, allocations: 48.42 kB / 473.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.315, allocations: 24 kB / 473.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001625/0.3167, allocations: 1.079 MB / 475 MB, free: 5.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 475 MB, free: 5.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001615/0.3183, allocations: 487.9 kB / 475.5 MB, free: 5.066 MB / 346.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.0002962/0.3186, allocations: 163 kB / 475.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.3214, allocations: 1.607 MB / 477.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3214, allocations: 0 / 477.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.3225, allocations: 0.7594 MB / 478 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.3244, allocations: 384.1 kB / 478.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.3299, allocations: 4.027 MB / 482.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.3312, allocations: 1.493 MB / 483.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.3324, allocations: 354 kB / 484.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.3327, allocations: 111.4 kB / 484.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3327, allocations: 0 / 484.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Templates: time 0.0327/0.3654, allocations: 19.39 MB / 0.4919 GB, free: 8.754 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches