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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2389, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009766/0.2487, allocations: 9.115 MB / 419.1 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.2555, allocations: 3.17 MB / 422.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.2569, allocations: 43.88 kB / 422.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.2591, allocations: 0.6794 MB / 422.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.2618, allocations: 0.7183 MB / 423.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.2628, allocations: 311.5 kB / 424 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.2657, allocations: 2.14 MB / 426.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.2677, allocations: 1.422 MB / 427.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.2693, allocations: 0.9343 MB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.2713, allocations: 1.144 MB / 429.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006206/0.2719, allocations: 236 kB / 429.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.273, allocations: 331.8 kB / 430.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000903/0.2739, allocations: 0.6777 MB / 430.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.2757, allocations: 1.1 MB / 431.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.2793, allocations: 3.128 MB / 435.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2793, allocations: 0 / 435.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2794, allocations: 0 / 435.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.199e-05/0.2794, allocations: 0 / 435.1 MB, free: 8.289 MB / 350.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.004785/0.2842, allocations: 2.312 MB / 437.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2843, allocations: 8.031 kB / 437.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/0.285, allocations: 242.4 kB / 437.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2872, allocations: 1.224 MB / 438.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.2873, allocations: 115.5 kB / 439 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.2875, allocations: 167.8 kB / 439.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.2907, allocations: 2.029 MB / 441.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.2907, allocations: 7.906 kB / 441.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.2909, allocations: 67.98 kB / 441.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/0.291, allocations: 78.92 kB / 441.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.2937, allocations: 1.671 MB / 443 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00962/0.3033, allocations: 7.034 MB / 450 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.3042, allocations: 480.4 kB / 450.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.3046, allocations: 274.6 kB / 450.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.3048, allocations: 121.4 kB / 450.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3049, allocations: 39 kB / 450.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.3049, allocations: 0 / 450.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006839/0.3117, allocations: 3.033 MB / 453.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3118, allocations: 55.97 kB / 454 MB, free: 4.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.3139, allocations: 1.632 MB / 455.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.314, allocations: 41.7 kB / 455.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/0.3146, allocations: 1.026 MB / 456.7 MB, free: 2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.3148, allocations: 244.8 kB / 456.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.3152, allocations: 315.1 kB / 457.2 MB, free: 1.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.3153, allocations: 301.1 kB / 457.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.3163, allocations: 0.5309 MB / 458.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.3177, allocations: 1.454 MB / 459.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.3206, allocations: 2.137 MB / 461.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.3206, allocations: 12 kB / 461.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003692/0.3243, allocations: 2.164 MB / 463.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.3244, allocations: 23.94 kB / 463.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/0.3244, allocations: 32 kB / 463.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.325, allocations: 227.1 kB / 464.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3262, allocations: 399.3 kB / 464.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.328, allocations: 1.847 MB / 466.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3294, allocations: 143.3 kB / 466.5 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.3296, allocations: 95.98 kB / 466.6 MB, free: 7.012 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.000911/0.3305, allocations: 0.5944 MB / 467.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.3308, allocations: 150.1 kB / 467.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.333, allocations: 1.098 MB / 468.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.333, allocations: 4 kB / 468.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.333, allocations: 4 kB / 468.4 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.333, allocations: 3.984 kB / 468.4 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/0.3381, allocations: 2.752 MB / 471.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3382, allocations: 4 kB / 471.2 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.3387, allocations: 119.8 kB / 471.3 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.3392, allocations: 162.4 kB / 471.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.3392, allocations: 12.12 kB / 471.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3408, allocations: 1.793 MB / 473.3 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3408, allocations: 3.938 kB / 473.3 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.3435, allocations: 1.635 MB / 474.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/0.3443, allocations: 299.2 kB / 475.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.3446, allocations: 20.05 kB / 475.2 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.3454, allocations: 51.94 kB / 475.3 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3455, allocations: 44.44 kB / 475.3 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.3456, allocations: 20 kB / 475.3 MB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.3474, allocations: 1.079 MB / 476.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3474, allocations: 0 / 476.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00159/0.349, allocations: 364 kB / 476.8 MB, free: 12.49 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.0003514/0.3494, allocations: 167 kB / 476.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.3522, allocations: 1.619 MB / 478.5 MB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3522, allocations: 0 / 478.5 MB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.3534, allocations: 0.7635 MB / 479.3 MB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.3557, allocations: 409.8 kB / 479.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.361, allocations: 3.014 MB / 482.7 MB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3623, allocations: 1.453 MB / 484.2 MB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.3627, allocations: 119.4 kB / 484.3 MB, free: 4.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3628, allocations: 0 / 484.3 MB, free: 4.777 MB / 398.1 MB Notification: Performance of Templates: time 0.05431/0.4171, allocations: 47.72 MB / 0.5195 GB, free: 5.102 MB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches