Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001864/0.001864, allocations: 103.6 kB / 21.18 MB, free: 332 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.002119/0.002119, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 55.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2264, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01051/0.2369, allocations: 10.33 MB / 406.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00729/0.2442, allocations: 3.762 MB / 410.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.246, allocations: 75.97 kB / 410.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.2482, allocations: 0.8433 MB / 411.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.2513, allocations: 1.028 MB / 412.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2526, allocations: 0.534 MB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.2567, allocations: 3.449 MB / 416.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.2587, allocations: 1.454 MB / 417.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.261, allocations: 1.581 MB / 419.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.264, allocations: 1.874 MB / 421.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.2646, allocations: 408.7 kB / 421.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.266, allocations: 0.6204 MB / 422.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.2672, allocations: 1.163 MB / 423.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.2692, allocations: 1.491 MB / 425 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.2753, allocations: 5.414 MB / 430.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2753, allocations: 0 / 430.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2753, allocations: 0 / 430.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.2754, allocations: 0 / 430.4 MB, free: 0.9609 MB / 334.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.007817/0.2832, allocations: 3.722 MB / 434.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2832, allocations: 11.98 kB / 434.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005144/0.2837, allocations: 388.1 kB / 434.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.2851, allocations: 450.6 kB / 434.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.289, allocations: 1.793 MB / 436.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.2892, allocations: 197.4 kB / 436.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.2897, allocations: 271.9 kB / 437.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006428/0.2961, allocations: 3.65 MB / 440.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.53e-05/0.2962, allocations: 4 kB / 440.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.2964, allocations: 108 kB / 440.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.2966, allocations: 129.2 kB / 441.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/0.3024, allocations: 2.952 MB / 444 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.321, allocations: 9.975 MB / 454 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.3236, allocations: 1.513 MB / 455.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.3257, allocations: 1.098 MB / 456.6 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.3259, allocations: 65.19 kB / 456.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.326, allocations: 51.81 kB / 456.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.997e-06/0.326, allocations: 0 / 456.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01639/0.3424, allocations: 7.058 MB / 463.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3424, allocations: 68.72 kB / 463.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.3458, allocations: 2.002 MB / 465.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.3461, allocations: 53.7 kB / 465.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.3472, allocations: 1.35 MB / 467.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/0.3478, allocations: 0.5268 MB / 467.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.3483, allocations: 335.4 kB / 468.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3484, allocations: 305.1 kB / 468.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.3501, allocations: 0.8784 MB / 469.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.3521, allocations: 1.377 MB / 470.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00377/0.3559, allocations: 2.378 MB / 473 MB, free: 5.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.3559, allocations: 8 kB / 473 MB, free: 5.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005719/0.3616, allocations: 2.9 MB / 475.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.3616, allocations: 12 kB / 476 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.3617, allocations: 19.94 kB / 476 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.3629, allocations: 466.6 kB / 476.4 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.3645, allocations: 423.3 kB / 476.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.3718, allocations: 5.851 MB / 482.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.3735, allocations: 127.9 kB / 482.8 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.3736, allocations: 75.98 kB / 482.9 MB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.001478/0.3751, allocations: 0.8447 MB / 483.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.3756, allocations: 218.6 kB / 483.9 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/0.3802, allocations: 2.5 MB / 486.5 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/0.3802, allocations: 16 kB / 486.5 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3802, allocations: 4 kB / 486.5 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.3803, allocations: 7.969 kB / 486.5 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.3903, allocations: 5.193 MB / 491.7 MB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.3903, allocations: 4 kB / 491.7 MB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.3915, allocations: 280.1 kB / 491.9 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.3928, allocations: 0.4943 MB / 492.4 MB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.3929, allocations: 39.92 kB / 492.5 MB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008449/0.4014, allocations: 7.322 MB / 499.8 MB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4014, allocations: 7.938 kB / 499.8 MB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/0.4079, allocations: 3.765 MB / 0.4918 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.4093, allocations: 406.4 kB / 0.4922 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.4097, allocations: 43.98 kB / 0.4922 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4108, allocations: 95.89 kB / 0.4923 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.4111, allocations: 133 kB / 0.4924 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.4112, allocations: 43.98 kB / 0.4925 GB, free: 5.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002115/0.4133, allocations: 1.356 MB / 0.4938 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4133, allocations: 7.938 kB / 0.4938 GB, free: 3.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4152, allocations: 0.5858 MB / 0.4944 GB, free: 3.125 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.006876/0.4221, allocations: 4.44 MB / 0.4987 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.4265, allocations: 2.451 MB / 0.5011 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4266, allocations: 4 kB / 0.5011 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002721/0.4293, allocations: 1.541 MB / 0.5026 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.4316, allocations: 498.7 kB / 0.5031 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03724/0.4688, allocations: 21.64 MB / 0.5242 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.4708, allocations: 1.58 MB / 0.5258 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001532/0.4724, allocations: 469 kB / 0.5262 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/0.4739, allocations: 1.062 MB / 0.5272 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4739, allocations: 0 / 0.5272 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/0.764, allocations: 56.83 MB / 0.5827 GB, free: 143.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.83, allocations: 8.875 kB / 0.5827 GB, free: 143.3 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 20.96723509998992]