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.0008269/0.0008269, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003622/0.003622, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8576/0.8576, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 325.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.851e-05, allocations: 4.391 kB / 325.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.007942/0.007961, allocations: 10.44 MB / 336.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.01263, allocations: 3.776 MB / 340.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006705/0.0133, allocations: 79.5 kB / 340.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.01453, allocations: 0.8466 MB / 341 MB, free: 68 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.01593, allocations: 1.067 MB / 342.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.01655, allocations: 0.5459 MB / 342.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.01852, allocations: 3.586 MB / 346.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.01978, allocations: 1.491 MB / 347.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.02141, allocations: 2.308 MB / 350 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.02271, allocations: 1.679 MB / 351.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.023, allocations: 412 kB / 352.1 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.02363, allocations: 0.6321 MB / 352.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006385/0.02427, allocations: 1.196 MB / 353.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.02506, allocations: 1.267 MB / 355.2 MB, free: 1.797 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.02828, allocations: 5.453 MB / 360.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.02829, allocations: 3.984 kB / 360.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02829, allocations: 4 kB / 360.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.02832, allocations: 0 / 360.6 MB, free: 12.32 MB / 330.7 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.003841/0.03216, allocations: 3.706 MB / 364.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.03219, allocations: 8.031 kB / 364.3 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.03308, allocations: 490.5 kB / 364.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.0351, allocations: 1.925 MB / 366.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.03521, allocations: 197.8 kB / 366.9 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.03546, allocations: 272.1 kB / 367.2 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.03896, allocations: 3.646 MB / 370.8 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.039, allocations: 4 kB / 370.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.03917, allocations: 116 kB / 371 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.929e-05/0.03926, allocations: 125.2 kB / 371.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.04232, allocations: 2.96 MB / 374 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009093/0.05141, allocations: 9.567 MB / 383.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.05296, allocations: 1.504 MB / 385.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.05411, allocations: 1.098 MB / 386.2 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.05428, allocations: 53.28 kB / 386.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.0543, allocations: 47.88 kB / 386.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 2.895e-06/0.05431, allocations: 0 / 386.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.00871/0.06302, allocations: 7.083 MB / 393.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.06306, allocations: 72.66 kB / 393.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.06467, allocations: 1.831 MB / 395.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.06474, allocations: 53.7 kB / 395.4 MB, free: 9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/0.06532, allocations: 1.353 MB / 396.7 MB, free: 7.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.06557, allocations: 0.5268 MB / 397.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/0.06589, allocations: 327.4 kB / 397.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.06595, allocations: 301.1 kB / 397.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.06686, allocations: 0.8823 MB / 398.7 MB, free: 5.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.06795, allocations: 1.376 MB / 400.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.06998, allocations: 2.377 MB / 402.5 MB, free: 1.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.06999, allocations: 8 kB / 402.5 MB, free: 1.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00293/0.07292, allocations: 2.892 MB / 405.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.07294, allocations: 15.98 kB / 405.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.07296, allocations: 16 kB / 405.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.07362, allocations: 474.3 kB / 405.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.07443, allocations: 423.3 kB / 406.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.07849, allocations: 5.771 MB / 412.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.07931, allocations: 131.7 kB / 412.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.07941, allocations: 75.98 kB / 412.3 MB, free: 7.418 MB / 378.7 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.001126/0.08053, allocations: 0.8509 MB / 413.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.08075, allocations: 202.7 kB / 413.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.08338, allocations: 2.503 MB / 415.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.0834, allocations: 19.98 kB / 415.8 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.08341, allocations: 8 kB / 415.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.08342, allocations: 3.984 kB / 415.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.0886, allocations: 4.854 MB / 420.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.08861, allocations: 4 kB / 420.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.0892, allocations: 280 kB / 421 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007121/0.08992, allocations: 0.4903 MB / 421.5 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.08998, allocations: 39.92 kB / 421.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.09456, allocations: 7.245 MB / 428.8 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.09456, allocations: 7.938 kB / 428.8 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.09819, allocations: 3.733 MB / 432.5 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.09881, allocations: 394.5 kB / 432.9 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.09896, allocations: 35.98 kB / 432.9 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.09952, allocations: 99.89 kB / 433 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.0997, allocations: 125 kB / 433.1 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.09977, allocations: 43.98 kB / 433.2 MB, free: 1.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.101, allocations: 1.235 MB / 434.4 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.101, allocations: 0 / 434.4 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001273/0.1022, allocations: 0.5937 MB / 435 MB, free: 172 kB / 394.7 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.0003425/0.1026, allocations: 219.1 kB / 435.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.1051, allocations: 2.454 MB / 437.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1051, allocations: 0 / 437.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.1066, allocations: 1.542 MB / 439.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.1077, allocations: 430.9 kB / 439.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.1135, allocations: 5.546 MB / 445.2 MB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.1148, allocations: 1.561 MB / 446.7 MB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.1151, allocations: 140.5 kB / 446.9 MB, free: 4.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1151, allocations: 0 / 446.9 MB, free: 4.113 MB / 410.7 MB Notification: Performance of Templates: time 0.1574/0.2725, allocations: 75.79 MB / 0.5104 GB, free: 49.7 MB / 410.7 MB " [Timeout remaining time 660] 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 -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/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_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: 9.737871183082461]