Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 208 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01449/0.2698, allocations: 11.95 MB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.2782, allocations: 4.021 MB / 448 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.2801, allocations: 79.5 kB / 448 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.2825, allocations: 0.8894 MB / 448.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.2858, allocations: 1.052 MB / 450 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2872, allocations: 0.5343 MB / 450.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005417/0.2926, allocations: 3.483 MB / 454 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.2953, allocations: 1.538 MB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.2982, allocations: 1.585 MB / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.3015, allocations: 1.993 MB / 459.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000686/0.3022, allocations: 408 kB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3037, allocations: 0.6947 MB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.3049, allocations: 1.169 MB / 461.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.3073, allocations: 1.835 MB / 463.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.3134, allocations: 5.41 MB / 468.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3134, allocations: 3.984 kB / 468.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3134, allocations: 0 / 468.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.289e-05/0.3135, allocations: 0 / 468.6 MB, free: 1.875 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.007796/0.3213, allocations: 3.745 MB / 472.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3213, allocations: 8.031 kB / 472.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.434e-05/0.3214, allocations: 69.58 kB / 472.4 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004977/0.3219, allocations: 388.1 kB / 472.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.3244, allocations: 494.5 kB / 473.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005818/0.3302, allocations: 1.91 MB / 475.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.3304, allocations: 197.4 kB / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/0.3312, allocations: 275.9 kB / 475.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009153/0.3403, allocations: 3.525 MB / 479.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.593e-05/0.3404, allocations: 7.984 kB / 479.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/0.3408, allocations: 104 kB / 479.3 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.341, allocations: 125.3 kB / 479.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008853/0.3499, allocations: 2.964 MB / 482.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02919/0.3791, allocations: 10.83 MB / 493.2 MB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.3831, allocations: 1.513 MB / 494.7 MB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.3861, allocations: 1.094 MB / 495.8 MB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.3865, allocations: 57.27 kB / 495.9 MB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.3865, allocations: 47.88 kB / 495.9 MB, free: 6.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.879e-06/0.3865, allocations: 0 / 495.9 MB, free: 6.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.02443/0.411, allocations: 7.1 MB / 0.4912 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.411, allocations: 68.72 kB / 0.4913 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/0.4162, allocations: 1.988 MB / 0.4932 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.4164, allocations: 53.7 kB / 0.4933 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.4181, allocations: 1.35 MB / 0.4946 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008131/0.4189, allocations: 0.5267 MB / 0.4951 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009009/0.4199, allocations: 327.5 kB / 0.4954 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.42, allocations: 301.1 kB / 0.4957 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.4224, allocations: 0.8901 MB / 0.4966 GB, free: 9.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.4253, allocations: 1.372 MB / 0.4979 GB, free: 7.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/0.4306, allocations: 2.381 MB / 0.5003 GB, free: 5.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.4306, allocations: 8 kB / 0.5003 GB, free: 5.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005864/0.4365, allocations: 2.911 MB / 0.5031 GB, free: 2.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.4365, allocations: 12 kB / 0.5031 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.4365, allocations: 12 kB / 0.5031 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.4379, allocations: 465.3 kB / 0.5036 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.4396, allocations: 431.3 kB / 0.504 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/0.4473, allocations: 5.892 MB / 0.5097 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.4492, allocations: 127.8 kB / 0.5099 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.4495, allocations: 75.98 kB / 0.5099 GB, free: 10.99 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.001875/0.4514, allocations: 0.8525 MB / 0.5108 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/0.452, allocations: 222.5 kB / 0.511 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.457, allocations: 2.504 MB / 0.5134 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/0.4571, allocations: 16 kB / 0.5134 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4571, allocations: 8 kB / 0.5135 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.4571, allocations: 7.969 kB / 0.5135 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.468, allocations: 5.522 MB / 0.5189 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.468, allocations: 0 / 0.5189 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.4693, allocations: 279.6 kB / 0.5191 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.4707, allocations: 0.4906 MB / 0.5196 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.4708, allocations: 39.97 kB / 0.5196 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009196/0.48, allocations: 7.375 MB / 0.5268 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.48, allocations: 4 kB / 0.5268 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/0.4873, allocations: 3.765 MB / 0.5305 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.4886, allocations: 418.4 kB / 0.5309 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/0.4891, allocations: 32 kB / 0.531 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.4906, allocations: 103.8 kB / 0.5311 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.4909, allocations: 125 kB / 0.5312 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.4911, allocations: 47.98 kB / 0.5312 GB, free: 4.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002682/0.4937, allocations: 1.368 MB / 0.5326 GB, free: 3.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4937, allocations: 0 / 0.5326 GB, free: 3.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002349/0.4961, allocations: 0.5859 MB / 0.5331 GB, free: 2.652 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.2151/0.7112, allocations: 4.42 MB / 0.5374 GB, free: 98.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0047/0.7159, allocations: 2.446 MB / 0.5398 GB, free: 98.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7159, allocations: 3.906 kB / 0.5398 GB, free: 98.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.7184, allocations: 1.544 MB / 0.5413 GB, free: 97.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.7211, allocations: 0.4962 MB / 0.5418 GB, free: 97.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/0.7515, allocations: 21.67 MB / 0.563 GB, free: 83.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.7532, allocations: 2.144 MB / 0.5651 GB, free: 81.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001592/0.7547, allocations: 473 kB / 0.5655 GB, free: 80.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.7559, allocations: 1.066 MB / 0.5666 GB, free: 79.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/0.7559, allocations: 0 / 0.5666 GB, free: 79.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09819/0.8541, allocations: 55.24 MB / 0.6205 GB, free: 24.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.73, allocations: 8 kB / 0.6205 GB, free: 24.65 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 30.14901838300284]