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.001437/0.001437, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 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.001624/0.001624, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 53.36 MB / 431.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01547/0.2731, allocations: 11.96 MB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008923/0.2821, allocations: 4.013 MB / 447.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.2846, allocations: 83.44 kB / 447.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.2872, allocations: 0.8933 MB / 448.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.2908, allocations: 1.041 MB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.2923, allocations: 0.5382 MB / 449.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004979/0.2973, allocations: 3.471 MB / 453.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.2996, allocations: 1.538 MB / 454.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.3023, allocations: 1.589 MB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.3057, allocations: 1.989 MB / 458.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006508/0.3064, allocations: 408 kB / 458.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.3079, allocations: 0.7025 MB / 459.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3092, allocations: 1.153 MB / 460.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.3118, allocations: 1.851 MB / 462.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.3185, allocations: 5.406 MB / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3185, allocations: 0 / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3185, allocations: 0 / 467.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.3186, allocations: 0 / 467.8 MB, free: 2.047 MB / 366.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.008756/0.3274, allocations: 3.745 MB / 471.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3274, allocations: 12.03 kB / 471.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005206/0.3279, allocations: 384.1 kB / 471.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3297, allocations: 486.5 kB / 472.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.3336, allocations: 1.918 MB / 474.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3337, allocations: 201.4 kB / 474.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.3341, allocations: 271.9 kB / 474.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006099/0.3402, allocations: 3.521 MB / 478.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.958e-05/0.3403, allocations: 4 kB / 478.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.3405, allocations: 111.9 kB / 478.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.3407, allocations: 117.3 kB / 478.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005514/0.3462, allocations: 2.972 MB / 481.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.3648, allocations: 10.83 MB / 492.3 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.3673, allocations: 1.51 MB / 493.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.3693, allocations: 1.094 MB / 494.9 MB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.3695, allocations: 57.27 kB / 495 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.3696, allocations: 47.88 kB / 495 MB, free: 6.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.747e-06/0.3696, allocations: 0 / 495 MB, free: 6.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01645/0.386, allocations: 7.105 MB / 0.4904 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3861, allocations: 68.72 kB / 0.4904 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.3896, allocations: 1.992 MB / 0.4924 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.3897, allocations: 49.7 kB / 0.4924 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.3908, allocations: 1.347 MB / 0.4937 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.3913, allocations: 0.5384 MB / 0.4943 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.3918, allocations: 315.5 kB / 0.4946 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.392, allocations: 317 kB / 0.4949 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3935, allocations: 0.8823 MB / 0.4957 GB, free: 9.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.3954, allocations: 1.372 MB / 0.4971 GB, free: 7.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.3989, allocations: 2.377 MB / 0.4994 GB, free: 5.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.399, allocations: 8 kB / 0.4994 GB, free: 5.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005428/0.4044, allocations: 2.912 MB / 0.5022 GB, free: 2.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.4044, allocations: 19.19 kB / 0.5022 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.4045, allocations: 16 kB / 0.5023 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.4056, allocations: 458.2 kB / 0.5027 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.4072, allocations: 427.3 kB / 0.5031 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/0.4143, allocations: 5.9 MB / 0.5089 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4162, allocations: 123.8 kB / 0.509 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.4164, allocations: 79.98 kB / 0.5091 GB, free: 11.23 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.001639/0.418, allocations: 0.8486 MB / 0.5099 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.4185, allocations: 230.5 kB / 0.5101 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.4231, allocations: 2.5 MB / 0.5126 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/0.4231, allocations: 20 kB / 0.5126 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4232, allocations: 4 kB / 0.5126 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.4232, allocations: 7.969 kB / 0.5126 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.4333, allocations: 5.511 MB / 0.518 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4333, allocations: 4.031 kB / 0.518 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.4345, allocations: 279.6 kB / 0.5182 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.4359, allocations: 0.4941 MB / 0.5187 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.436, allocations: 43.97 kB / 0.5188 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.4445, allocations: 7.359 MB / 0.5259 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4445, allocations: 8 kB / 0.526 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006874/0.4514, allocations: 3.765 MB / 0.5296 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.4529, allocations: 414.4 kB / 0.53 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.4532, allocations: 36 kB / 0.5301 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.4544, allocations: 107.8 kB / 0.5302 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.4547, allocations: 117 kB / 0.5303 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4548, allocations: 51.98 kB / 0.5303 GB, free: 4.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002212/0.457, allocations: 1.364 MB / 0.5317 GB, free: 3.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.457, allocations: 0 / 0.5317 GB, free: 3.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.4592, allocations: 0.5898 MB / 0.5322 GB, free: 2.902 MB / 446.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.2516/0.7108, allocations: 4.417 MB / 0.5365 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004174/0.715, allocations: 2.449 MB / 0.5389 GB, free: 99.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.715, allocations: 2.719 kB / 0.5389 GB, free: 99.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.7173, allocations: 1.551 MB / 0.5405 GB, free: 98.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.7197, allocations: 0.4966 MB / 0.5409 GB, free: 98.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/0.7469, allocations: 21.67 MB / 0.5621 GB, free: 83.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.7483, allocations: 2.144 MB / 0.5642 GB, free: 81.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001413/0.7497, allocations: 473 kB / 0.5646 GB, free: 81.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.7508, allocations: 1.058 MB / 0.5657 GB, free: 80.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7508, allocations: 0 / 0.5657 GB, free: 80.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09336/0.8442, allocations: 55.22 MB / 0.6196 GB, free: 25.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.83, allocations: 5.906 kB / 0.6196 GB, free: 25.34 MB / 446.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] 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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.680795401101932]