Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001591/0.001591, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.00197/0.00197, allocations: 164 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 55.67 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09694, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01341/0.1104, allocations: 10.42 MB / 389.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007287/0.1176, allocations: 3.769 MB / 393.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1189, allocations: 83.44 kB / 393.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.121, allocations: 0.839 MB / 394 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.1238, allocations: 1.037 MB / 395.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1251, allocations: 0.5344 MB / 395.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.1293, allocations: 3.467 MB / 399.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.1315, allocations: 1.475 MB / 400.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.1338, allocations: 1.589 MB / 402.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.1369, allocations: 1.879 MB / 404 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007746/0.1377, allocations: 408 kB / 404.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.1392, allocations: 0.6245 MB / 405 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.1405, allocations: 1.161 MB / 406.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.1426, allocations: 1.497 MB / 407.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006575/0.1492, allocations: 5.426 MB / 413.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1492, allocations: 0 / 413.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1492, allocations: 0 / 413.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.931e-05/0.1493, allocations: 0 / 413.1 MB, free: 13.31 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.007709/0.157, allocations: 3.742 MB / 416.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.157, allocations: 12.03 kB / 416.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.1588, allocations: 490.5 kB / 417.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.1623, allocations: 1.918 MB / 419.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.1625, allocations: 205.4 kB / 419.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.1629, allocations: 275.9 kB / 419.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/0.169, allocations: 3.646 MB / 423.4 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.625e-05/0.169, allocations: 4 kB / 423.4 MB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.1693, allocations: 108 kB / 423.5 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.1694, allocations: 121.2 kB / 423.6 MB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005316/0.1748, allocations: 2.968 MB / 426.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.1913, allocations: 9.575 MB / 436.1 MB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.1939, allocations: 1.508 MB / 437.7 MB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.196, allocations: 1.094 MB / 438.8 MB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.1962, allocations: 45.28 kB / 438.8 MB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.1962, allocations: 51.88 kB / 438.8 MB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.948e-06/0.1962, allocations: 4 kB / 438.8 MB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01641/0.2126, allocations: 7.074 MB / 445.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.2127, allocations: 72.72 kB / 446 MB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.2155, allocations: 1.831 MB / 447.8 MB, free: 9.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2156, allocations: 53.7 kB / 447.9 MB, free: 9.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.2167, allocations: 1.357 MB / 449.2 MB, free: 8.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.2172, allocations: 0.5346 MB / 449.8 MB, free: 8.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000555/0.2177, allocations: 319.5 kB / 450.1 MB, free: 7.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2179, allocations: 305.1 kB / 450.4 MB, free: 7.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.2194, allocations: 0.8862 MB / 451.3 MB, free: 6.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.2215, allocations: 1.368 MB / 452.6 MB, free: 4.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.2252, allocations: 2.381 MB / 455 MB, free: 2.355 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2253, allocations: 4 kB / 455 MB, free: 2.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005368/0.2306, allocations: 2.896 MB / 457.9 MB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2306, allocations: 20 kB / 457.9 MB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.2307, allocations: 16 kB / 458 MB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.2318, allocations: 458.2 kB / 458.4 MB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.2335, allocations: 427.3 kB / 458.8 MB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.2408, allocations: 5.791 MB / 464.6 MB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.2422, allocations: 119.8 kB / 464.7 MB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.2424, allocations: 80 kB / 464.8 MB, free: 8.352 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 (199): * Single equations (assignments): 194 * 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.001441/0.2438, allocations: 0.8562 MB / 465.7 MB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.2442, allocations: 206.7 kB / 465.9 MB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.2489, allocations: 2.499 MB / 468.4 MB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.2489, allocations: 16 kB / 468.4 MB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.249, allocations: 4 kB / 468.4 MB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.249, allocations: 7.969 kB / 468.4 MB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1917/0.4407, allocations: 4.861 MB / 473.2 MB, free: 82.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.4407, allocations: 3.906 kB / 473.3 MB, free: 82.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.4422, allocations: 278.4 kB / 473.5 MB, free: 82.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.4436, allocations: 0.4908 MB / 474 MB, free: 82.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.4437, allocations: 41.02 kB / 474.1 MB, free: 82.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/0.4506, allocations: 7.238 MB / 481.3 MB, free: 78.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4506, allocations: 7.281 kB / 481.3 MB, free: 78.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/0.4567, allocations: 3.744 MB / 485 MB, free: 76.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009571/0.4576, allocations: 401.4 kB / 485.4 MB, free: 76.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.4578, allocations: 36.2 kB / 485.5 MB, free: 76.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.459, allocations: 97.03 kB / 485.6 MB, free: 76.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.4593, allocations: 129.5 kB / 485.7 MB, free: 76.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.4594, allocations: 42.41 kB / 485.7 MB, free: 76.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001745/0.4611, allocations: 1.242 MB / 487 MB, free: 76.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4611, allocations: 0 / 487 MB, free: 76.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001816/0.463, allocations: 0.5848 MB / 487.6 MB, free: 76.23 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 (125): * Single equations (assignments): 120 * 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.0003678/0.4633, allocations: 219.6 kB / 487.8 MB, free: 76.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.4671, allocations: 2.443 MB / 490.2 MB, free: 75.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4671, allocations: 0 / 490.2 MB, free: 75.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.4693, allocations: 1.548 MB / 491.8 MB, free: 74.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.471, allocations: 430 kB / 492.2 MB, free: 74.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.4776, allocations: 5.693 MB / 497.9 MB, free: 71.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.4789, allocations: 1.581 MB / 499.5 MB, free: 71.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.48, allocations: 453.2 kB / 499.9 MB, free: 70.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.4803, allocations: 136 kB / 0.4883 GB, free: 70.59 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4803, allocations: 0 / 0.4883 GB, free: 70.59 MB / 430.1 MB Notification: Performance of Templates: time 0.04022/0.5206, allocations: 29.75 MB / 0.5174 GB, free: 41.25 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.005519304075278]