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.00182/0.00182, allocations: 88.83 kB / 20.68 MB, free: 1.02 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.002151/0.002151, allocations: 158.5 kB / 23.95 MB, free: 4.152 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.556/1.556, allocations: 177 MB / 204.1 MB, free: 9.164 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 1.803e-06/1.803e-06, allocations: 3.938 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.084e-05, allocations: 6.219 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02206/0.02209, allocations: 10.44 MB / 335.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.03572, allocations: 3.773 MB / 339.2 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.0398, allocations: 79.59 kB / 339.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.04411, allocations: 0.8518 MB / 340.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.04973, allocations: 1.072 MB / 341.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.05219, allocations: 0.5418 MB / 341.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008178/0.06037, allocations: 3.599 MB / 345.4 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004061/0.06443, allocations: 1.487 MB / 346.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006331/0.07076, allocations: 2.308 MB / 349.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005337/0.0761, allocations: 1.683 MB / 350.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.0777, allocations: 412 kB / 351.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.0805, allocations: 0.6283 MB / 351.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.08293, allocations: 1.192 MB / 353.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003446/0.08638, allocations: 1.263 MB / 354.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.09767, allocations: 5.465 MB / 359.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.0977, allocations: 0 / 359.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.0977, allocations: 0 / 359.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.09786, allocations: 0 / 359.8 MB, free: 2.109 MB / 318.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.01533/0.1132, allocations: 3.709 MB / 363.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.1132, allocations: 11.98 kB / 363.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.1168, allocations: 490.5 kB / 364 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006953/0.1238, allocations: 1.913 MB / 365.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.1241, allocations: 205.8 kB / 366.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.1252, allocations: 268.1 kB / 366.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.138, allocations: 3.654 MB / 370 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.1381, allocations: 11.92 kB / 370.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00045/0.1385, allocations: 108 kB / 370.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.1387, allocations: 121.2 kB / 370.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006537/0.1452, allocations: 2.964 MB / 373.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.1655, allocations: 9.567 MB / 382.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.1686, allocations: 1.496 MB / 384.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.1709, allocations: 1.091 MB / 385.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.1712, allocations: 53.27 kB / 385.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.1712, allocations: 43.88 kB / 385.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 4.068e-06/0.1712, allocations: 4 kB / 385.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.01822/0.1894, allocations: 7.018 MB / 392.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1895, allocations: 68.66 kB / 392.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.1929, allocations: 1.839 MB / 394.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.193, allocations: 49.7 kB / 394.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.1943, allocations: 1.357 MB / 395.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005457/0.1948, allocations: 0.5229 MB / 396.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006357/0.1955, allocations: 323.4 kB / 396.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1956, allocations: 301.1 kB / 397 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.1973, allocations: 0.8823 MB / 397.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.1996, allocations: 1.38 MB / 399.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.2039, allocations: 2.373 MB / 401.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/0.2039, allocations: 4 kB / 401.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00608/0.21, allocations: 2.888 MB / 404.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.21, allocations: 12 kB / 404.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.2101, allocations: 16 kB / 404.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.2114, allocations: 458.4 kB / 405 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.2133, allocations: 431.3 kB / 405.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00809/0.2214, allocations: 5.781 MB / 411.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.2231, allocations: 127.8 kB / 411.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.2233, allocations: 75.98 kB / 411.4 MB, free: 13.29 MB / 382.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.001777/0.2251, allocations: 0.8485 MB / 412.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/0.2257, allocations: 202.7 kB / 412.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/0.2309, allocations: 2.491 MB / 414.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/0.231, allocations: 19.98 kB / 414.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.231, allocations: 4.094 kB / 414.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.231, allocations: 7.969 kB / 414.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.2416, allocations: 4.849 MB / 419.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.2416, allocations: 4 kB / 419.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.243, allocations: 276 kB / 420.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.2445, allocations: 498 kB / 420.5 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.2447, allocations: 43.97 kB / 420.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009523/0.2542, allocations: 7.226 MB / 427.8 MB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.2542, allocations: 4 kB / 427.8 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/0.2617, allocations: 3.733 MB / 431.5 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.2632, allocations: 402.5 kB / 431.9 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/0.2638, allocations: 39.98 kB / 432 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.2652, allocations: 103.9 kB / 432.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.2656, allocations: 125 kB / 432.2 MB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.2657, allocations: 40 kB / 432.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002491/0.2682, allocations: 1.242 MB / 433.5 MB, free: 6.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2682, allocations: 0 / 433.5 MB, free: 6.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002283/0.2705, allocations: 0.5819 MB / 434.1 MB, free: 6.078 MB / 398.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.0006291/0.2711, allocations: 230.4 kB / 434.3 MB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005334/0.2765, allocations: 2.455 MB / 436.7 MB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.2765, allocations: 0 / 436.7 MB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00313/0.2796, allocations: 1.53 MB / 438.3 MB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.2827, allocations: 433.9 kB / 438.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.295, allocations: 5.503 MB / 444.2 MB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.2978, allocations: 1.58 MB / 445.8 MB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001798/0.2996, allocations: 451.4 kB / 446.2 MB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/0.3003, allocations: 132.5 kB / 446.4 MB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3003, allocations: 0 / 446.4 MB, free: 9.613 MB / 414.1 MB Notification: Performance of Templates: time 0.2087/0.509, allocations: 29.47 MB / 475.8 MB, free: 126 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/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.464613247662783]