Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001802/0.001802, allocations: 115.4 kB / 18.41 MB, free: 4.66 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.001953/0.001954, allocations: 192.3 kB / 21.35 MB, free: 1.727 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.516/1.516, allocations: 222.9 MB / 247.1 MB, free: 4.332 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 358.7 MB, free: 8.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09384, allocations: 49.43 MB / 408.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01272/0.1066, allocations: 10.19 MB / 418.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006467/0.1131, allocations: 3.221 MB / 421.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.1147, allocations: 55.75 kB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.1169, allocations: 0.6947 MB / 422.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.1197, allocations: 0.8386 MB / 423.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1209, allocations: 403.4 kB / 423.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003984/0.1249, allocations: 2.973 MB / 426.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.1287, allocations: 2.477 MB / 429 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.1309, allocations: 1.347 MB / 430.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.184/0.315, allocations: 1.686 MB / 432 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.3157, allocations: 353.5 kB / 432.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.3168, allocations: 454.2 kB / 432.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.3177, allocations: 1.017 MB / 433.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.3196, allocations: 1.608 MB / 435.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006062/0.3257, allocations: 4.686 MB / 440.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3257, allocations: 2.578 kB / 440.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3257, allocations: 1.469 kB / 440.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.3259, allocations: 0 / 440.1 MB, free: 7.602 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008254/0.3342, allocations: 3.346 MB / 443.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3342, allocations: 8.25 kB / 443.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009653/0.3352, allocations: 346.5 kB / 443.8 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3383, allocations: 1.761 MB / 445.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.3384, allocations: 176.8 kB / 445.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.3388, allocations: 236.8 kB / 445.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005359/0.3442, allocations: 3.139 MB / 449.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.3443, allocations: 5.641 kB / 449.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.3445, allocations: 100.2 kB / 449.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.3447, allocations: 107 kB / 449.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/0.3494, allocations: 2.697 MB / 452 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.3639, allocations: 9.649 MB / 461.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.3669, allocations: 2.172 MB / 463.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.3688, allocations: 1.111 MB / 464.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.3691, allocations: 209.2 kB / 465.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3692, allocations: 52.42 kB / 465.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 2.945e-06/0.3692, allocations: 0 / 465.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01439/0.3836, allocations: 6.87 MB / 472 MB, free: 7.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3837, allocations: 76.7 kB / 472.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.3867, allocations: 1.742 MB / 473.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.3869, allocations: 45.7 kB / 473.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.3879, allocations: 1.185 MB / 475.1 MB, free: 4.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.3885, allocations: 474.2 kB / 475.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/0.389, allocations: 287.5 kB / 475.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3892, allocations: 313 kB / 476.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.3906, allocations: 0.7886 MB / 476.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.3923, allocations: 1.208 MB / 478.1 MB, free: 1.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.3955, allocations: 2.094 MB / 480.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3956, allocations: 0 / 480.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004916/0.4005, allocations: 2.687 MB / 482.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4005, allocations: 12 kB / 482.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.4006, allocations: 12 kB / 482.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4016, allocations: 415.7 kB / 483.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.403, allocations: 361.4 kB / 483.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/0.4107, allocations: 7.083 MB / 490.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4124, allocations: 107.9 kB / 490.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4125, allocations: 60 kB / 490.9 MB, free: 4.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.4141, allocations: 0.7989 MB / 491.7 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.4146, allocations: 194.8 kB / 491.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00445/0.4191, allocations: 2.373 MB / 494.3 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.4191, allocations: 15.94 kB / 494.3 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.4191, allocations: 7.938 kB / 494.3 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4191, allocations: 7.969 kB / 494.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00994/0.4291, allocations: 5.113 MB / 499.5 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4291, allocations: 4.062 kB / 499.5 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4302, allocations: 238.8 kB / 499.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.4315, allocations: 449.5 kB / 0.4884 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4316, allocations: 32.86 kB / 0.4884 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009192/0.4408, allocations: 8.656 MB / 0.4969 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4409, allocations: 4 kB / 0.4969 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006347/0.4472, allocations: 3.526 MB / 0.5003 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.4484, allocations: 447.8 kB / 0.5008 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005564/0.449, allocations: 28 kB / 0.5008 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.4502, allocations: 91.83 kB / 0.5009 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.4506, allocations: 119.4 kB / 0.501 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.4507, allocations: 39.98 kB / 0.501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002309/0.453, allocations: 1.194 MB / 0.5022 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.453, allocations: 0 / 0.5022 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00241/0.4554, allocations: 0.5038 MB / 0.5027 GB, free: 11.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0005166/0.456, allocations: 205.5 kB / 0.5029 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004564/0.4606, allocations: 2.472 MB / 0.5053 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.4606, allocations: 4.062 kB / 0.5053 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.4635, allocations: 1.61 MB / 0.5069 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.4663, allocations: 482.2 kB / 0.5073 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/0.4757, allocations: 5.106 MB / 0.5123 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.478, allocations: 1.964 MB / 0.5142 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/0.4788, allocations: 135.4 kB / 0.5144 GB, free: 15.63 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4788, allocations: 4 kB / 0.5144 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Templates: time 0.1017/0.5805, allocations: 79.44 MB / 0.592 GB, free: 236 kB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 12.742875886964612]