Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.00172/0.00172, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002/0.002, allocations: 165.2 kB / 24.5 MB, free: 3.453 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.434/1.434, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 61.25 kB / 325.5 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 53.4 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01921/0.1438, allocations: 10.43 MB / 389.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009362/0.1531, allocations: 3.769 MB / 393.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.156, allocations: 79.5 kB / 393.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.159, allocations: 0.8429 MB / 394 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004307/0.1633, allocations: 1.045 MB / 395.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.165, allocations: 0.5305 MB / 395.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005094/0.1701, allocations: 3.471 MB / 399.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.1726, allocations: 1.475 MB / 400.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.1754, allocations: 1.589 MB / 402.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.1791, allocations: 1.879 MB / 404 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.1801, allocations: 411.9 kB / 404.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.1818, allocations: 0.6245 MB / 405.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.1835, allocations: 1.157 MB / 406.2 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.1867, allocations: 1.497 MB / 407.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007188/0.1939, allocations: 5.422 MB / 413.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1939, allocations: 3.938 kB / 413.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1939, allocations: 0 / 413.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001522/0.1941, allocations: 0 / 413.1 MB, free: 13.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009124/0.2032, allocations: 3.742 MB / 416.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2033, allocations: 11.98 kB / 416.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.205, allocations: 486.5 kB / 417.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.2088, allocations: 1.914 MB / 419.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.209, allocations: 213.4 kB / 419.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/0.2094, allocations: 264 kB / 419.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006374/0.2158, allocations: 3.65 MB / 423.4 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.217e-05/0.2159, allocations: 8 kB / 423.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.2161, allocations: 112 kB / 423.5 MB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.2163, allocations: 121.2 kB / 423.6 MB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005378/0.2216, allocations: 2.964 MB / 426.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.2384, allocations: 9.571 MB / 436.2 MB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2411, allocations: 1.504 MB / 437.7 MB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.243, allocations: 1.095 MB / 438.8 MB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.2433, allocations: 53.22 kB / 438.8 MB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.2433, allocations: 51.86 kB / 438.9 MB, free: 2.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.2433, allocations: 0 / 438.9 MB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.01626/0.2596, allocations: 7.006 MB / 445.9 MB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.2596, allocations: 68.72 kB / 445.9 MB, free: 11.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/0.2624, allocations: 1.839 MB / 447.8 MB, free: 10.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.2626, allocations: 53.7 kB / 447.8 MB, free: 9.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.2637, allocations: 1.357 MB / 449.2 MB, free: 8.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.2642, allocations: 0.5306 MB / 449.7 MB, free: 8.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.2647, allocations: 323.4 kB / 450 MB, free: 7.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2648, allocations: 301.1 kB / 450.3 MB, free: 7.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.2664, allocations: 0.8862 MB / 451.2 MB, free: 6.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.2685, allocations: 1.372 MB / 452.6 MB, free: 4.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.2722, allocations: 2.377 MB / 455 MB, free: 2.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.2722, allocations: 8 kB / 455 MB, free: 2.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00549/0.2777, allocations: 2.892 MB / 457.9 MB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.2777, allocations: 11.94 kB / 457.9 MB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.2777, allocations: 16 kB / 457.9 MB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2789, allocations: 477.5 kB / 458.4 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.2805, allocations: 423.3 kB / 458.8 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007308/0.2878, allocations: 5.78 MB / 464.6 MB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.2896, allocations: 123.9 kB / 464.7 MB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.2898, allocations: 75.98 kB / 464.8 MB, free: 8.383 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001552/0.2913, allocations: 0.8524 MB / 465.6 MB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.2919, allocations: 206.7 kB / 465.8 MB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/0.2965, allocations: 2.488 MB / 468.3 MB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/0.2966, allocations: 23.98 kB / 468.3 MB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.2966, allocations: 4 kB / 468.3 MB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.2966, allocations: 7.969 kB / 468.3 MB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2076/0.5042, allocations: 4.835 MB / 473.2 MB, free: 81.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.5042, allocations: 5.812 kB / 473.2 MB, free: 81.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.5058, allocations: 281.3 kB / 473.4 MB, free: 81.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.5073, allocations: 0.491 MB / 473.9 MB, free: 81.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.5074, allocations: 39.58 kB / 474 MB, free: 81.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006977/0.5144, allocations: 7.23 MB / 481.2 MB, free: 77.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5144, allocations: 7.594 kB / 481.2 MB, free: 77.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/0.5217, allocations: 3.736 MB / 484.9 MB, free: 76.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.523, allocations: 392 kB / 485.3 MB, free: 76.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.5233, allocations: 41.19 kB / 485.4 MB, free: 76.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.5244, allocations: 100.3 kB / 485.5 MB, free: 76.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.5248, allocations: 127 kB / 485.6 MB, free: 76.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.5249, allocations: 47.64 kB / 485.6 MB, free: 76.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5269, allocations: 1.236 MB / 486.9 MB, free: 75.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5269, allocations: 1.031 kB / 486.9 MB, free: 75.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002098/0.529, allocations: 0.5793 MB / 487.5 MB, free: 75.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (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.0004284/0.5294, allocations: 229.1 kB / 487.7 MB, free: 75.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.5334, allocations: 2.444 MB / 490.1 MB, free: 74.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.5334, allocations: 0 / 490.1 MB, free: 74.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.5356, allocations: 1.54 MB / 491.7 MB, free: 73.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.5376, allocations: 427.8 kB / 492.1 MB, free: 73.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/0.5452, allocations: 5.684 MB / 497.8 MB, free: 70.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.5465, allocations: 1.58 MB / 499.3 MB, free: 70.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001269/0.5478, allocations: 456 kB / 499.8 MB, free: 69.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.5482, allocations: 134.1 kB / 499.9 MB, free: 69.79 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5482, allocations: 0 / 499.9 MB, free: 69.79 MB / 430.1 MB Notification: Performance of Templates: time 0.04093/0.5891, allocations: 29.66 MB / 0.5172 GB, free: 40.54 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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: 6.1681663860799745]