Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 1.281 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.478e-05, allocations: 3.125 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01713/0.01716, allocations: 10.39 MB / 329.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.03031, allocations: 3.702 MB / 333 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.03378, allocations: 83.53 kB / 333.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004021/0.0378, allocations: 0.8392 MB / 334 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.0422, allocations: 1.073 MB / 335 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.04391, allocations: 0.5222 MB / 335.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004916/0.04883, allocations: 3.585 MB / 339.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.05149, allocations: 1.486 MB / 340.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.05553, allocations: 2.293 MB / 342.9 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.05833, allocations: 1.679 MB / 344.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.05894, allocations: 412 kB / 345 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.06023, allocations: 0.6283 MB / 345.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.06145, allocations: 1.188 MB / 346.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.06334, allocations: 1.274 MB / 348.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.06996, allocations: 5.441 MB / 353.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.06997, allocations: 0 / 353.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.06997, allocations: 0 / 353.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.0701, allocations: 4 kB / 353.5 MB, free: 8.922 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.008006/0.07811, allocations: 3.691 MB / 357.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.07815, allocations: 8.922 kB / 357.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.07956, allocations: 454.6 kB / 357.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.08298, allocations: 1.89 MB / 359.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.08316, allocations: 205.8 kB / 359.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.0836, allocations: 272.1 kB / 360 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/0.08977, allocations: 3.65 MB / 363.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.08983, allocations: 4 kB / 363.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/0.09009, allocations: 108 kB / 363.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.09026, allocations: 125.2 kB / 363.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/0.09597, allocations: 2.964 MB / 366.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.1136, allocations: 9.579 MB / 376.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.1163, allocations: 1.504 MB / 378 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.1184, allocations: 1.105 MB / 379.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.1186, allocations: 45.28 kB / 379.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.1186, allocations: 55.86 kB / 379.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.817e-06/0.1187, allocations: 0 / 379.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.01687/0.1355, allocations: 7.063 MB / 386.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1356, allocations: 72.72 kB / 386.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.1387, allocations: 1.822 MB / 388.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.1388, allocations: 53.7 kB / 388.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.1399, allocations: 1.357 MB / 389.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.1404, allocations: 0.5229 MB / 390.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/0.141, allocations: 323.5 kB / 390.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1411, allocations: 301.1 kB / 390.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.1428, allocations: 0.8862 MB / 391.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.1448, allocations: 1.372 MB / 392.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.1485, allocations: 2.385 MB / 395.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.1485, allocations: 4 kB / 395.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005838/0.1544, allocations: 2.888 MB / 398.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1544, allocations: 12 kB / 398.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.1544, allocations: 12 kB / 398.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.1557, allocations: 470.1 kB / 398.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.1575, allocations: 439.2 kB / 399.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.165, allocations: 5.78 MB / 404.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.1669, allocations: 123.8 kB / 405 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.1672, allocations: 75.98 kB / 405.1 MB, free: 4.109 MB / 366.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.001991/0.1692, allocations: 0.8551 MB / 405.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.17, allocations: 202.7 kB / 406.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/0.1757, allocations: 2.491 MB / 408.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.1757, allocations: 16 kB / 408.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.1757, allocations: 8 kB / 408.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.1757, allocations: 7.969 kB / 408.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.187, allocations: 4.849 MB / 413.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.187, allocations: 4 kB / 413.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.1883, allocations: 288 kB / 413.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.1898, allocations: 498 kB / 414.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.1899, allocations: 35.98 kB / 414.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008959/0.1989, allocations: 7.241 MB / 421.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1989, allocations: 4 kB / 421.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/0.2056, allocations: 3.745 MB / 425.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.2067, allocations: 390.5 kB / 425.7 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.2071, allocations: 39.98 kB / 425.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.2084, allocations: 99.89 kB / 425.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.2087, allocations: 129 kB / 426 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.2088, allocations: 43.98 kB / 426 MB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.211, allocations: 1.226 MB / 427.2 MB, free: 13.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.211, allocations: 0 / 427.2 MB, free: 13.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002023/0.213, allocations: 0.5897 MB / 427.8 MB, free: 12.88 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 (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.0005246/0.2135, allocations: 226.9 kB / 428 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004624/0.2181, allocations: 2.454 MB / 430.5 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2181, allocations: 0 / 430.5 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.221, allocations: 1.542 MB / 432 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.2231, allocations: 421 kB / 432.4 MB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.2334, allocations: 5.494 MB / 437.9 MB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.2355, allocations: 1.572 MB / 439.5 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001352/0.2368, allocations: 455.5 kB / 440 MB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/0.2373, allocations: 132.4 kB / 440.1 MB, free: 424 kB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2373, allocations: 0 / 440.1 MB, free: 424 kB / 398.1 MB Notification: Performance of Templates: time 0.05525/0.2926, allocations: 29.49 MB / 469.6 MB, free: 3.27 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.042874954640865]