Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.0008131/0.0008131, allocations: 108.2 kB / 20.43 MB, free: 4.578 MB / 13.93 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.0008638/0.0008638, allocations: 221.3 kB / 23.73 MB, free: 2.137 MB / 13.93 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 0.9284/0.9284, allocations: 230.6 MB / 257.4 MB, free: 9.508 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 47.7 MB / 361.6 MB, free: 2.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 91.84 kB / 0.4973 GB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 66.22 MB / 0.5619 GB, free: 5.129 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2037/0.3143, allocations: 10.5 MB / 0.5722 GB, free: 9.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.3217, allocations: 3.783 MB / 0.5759 GB, free: 7.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3242, allocations: 79.62 kB / 0.576 GB, free: 7.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.3265, allocations: 0.8386 MB / 0.5768 GB, free: 7.074 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.3299, allocations: 1.034 MB / 0.5778 GB, free: 6.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.331, allocations: 0.5358 MB / 0.5783 GB, free: 6.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.3346, allocations: 3.479 MB / 0.5817 GB, free: 4.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.3364, allocations: 1.484 MB / 0.5832 GB, free: 3.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3389, allocations: 1.589 MB / 0.5847 GB, free: 2.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.3419, allocations: 1.876 MB / 0.5865 GB, free: 2.031 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007633/0.3427, allocations: 407.9 kB / 0.5869 GB, free: 2.031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.3441, allocations: 0.6265 MB / 0.5875 GB, free: 1.965 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009295/0.345, allocations: 1.162 MB / 0.5887 GB, free: 1.324 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.3469, allocations: 1.499 MB / 0.5901 GB, free: 484 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.3523, allocations: 5.429 MB / 0.5954 GB, free: 14.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3523, allocations: 1.531 kB / 0.5954 GB, free: 14.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3523, allocations: 0 / 0.5954 GB, free: 14.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.3525, allocations: 0 / 0.5954 GB, free: 14.2 MB / 442.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.006248/0.3587, allocations: 3.749 MB / 0.5991 GB, free: 11.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3587, allocations: 9.844 kB / 0.5991 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003991/0.3591, allocations: 386.5 kB / 0.5995 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3603, allocations: 489 kB / 0.6 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.3631, allocations: 1.929 MB / 0.6018 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3632, allocations: 202.3 kB / 0.602 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.3636, allocations: 266.1 kB / 0.6023 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/0.3681, allocations: 3.646 MB / 0.6058 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.3681, allocations: 15.31 kB / 0.6059 GB, free: 7.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.3683, allocations: 111 kB / 0.606 GB, free: 7.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.3684, allocations: 122.4 kB / 0.6061 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/0.3723, allocations: 2.961 MB / 0.609 GB, free: 5.785 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.3861, allocations: 9.964 MB / 0.6187 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.3885, allocations: 1.505 MB / 0.6202 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.3899, allocations: 1.095 MB / 0.6212 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.3901, allocations: 57.27 kB / 0.6213 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3901, allocations: 43.88 kB / 0.6213 GB, free: 11.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.3901, allocations: 0 / 0.6213 GB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=147): time 0.01034/0.4005, allocations: 7.031 MB / 0.6282 GB, free: 4.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4005, allocations: 72.66 kB / 0.6283 GB, free: 4.281 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.4027, allocations: 2.015 MB / 0.6302 GB, free: 2.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.4028, allocations: 49.7 kB / 0.6303 GB, free: 2.168 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/0.4034, allocations: 1.35 MB / 0.6316 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.4037, allocations: 0.5307 MB / 0.6321 GB, free: 276 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.4041, allocations: 331.4 kB / 0.6324 GB, free: 15.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.4041, allocations: 301.1 kB / 0.6327 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/0.4051, allocations: 0.8862 MB / 0.6336 GB, free: 14.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.4063, allocations: 1.369 MB / 0.6349 GB, free: 13.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.4084, allocations: 2.385 MB / 0.6373 GB, free: 10.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4084, allocations: 7.938 kB / 0.6373 GB, free: 10.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003458/0.4119, allocations: 2.904 MB / 0.6401 GB, free: 7.652 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4119, allocations: 12.38 kB / 0.6401 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.4119, allocations: 23.94 kB / 0.6401 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/0.4126, allocations: 454.1 kB / 0.6406 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/0.4135, allocations: 431.3 kB / 0.641 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004505/0.418, allocations: 5.838 MB / 0.6467 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4197, allocations: 119.8 kB / 0.6468 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.4199, allocations: 79.98 kB / 0.6469 GB, free: 0.5 MB / 474.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 (198): * Single equations (assignments): 193 * 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.001832/0.4218, allocations: 0.8601 MB / 0.6477 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.4224, allocations: 222.6 kB / 0.6479 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.4258, allocations: 2.501 MB / 0.6504 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.4258, allocations: 16 kB / 0.6504 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4259, allocations: 4 kB / 0.6504 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.4259, allocations: 11.91 kB / 0.6504 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007884/0.4338, allocations: 5.18 MB / 0.6555 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4338, allocations: 4.5 kB / 0.6555 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.4344, allocations: 275.6 kB / 0.6557 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/0.4353, allocations: 0.4903 MB / 0.6562 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.4354, allocations: 35.98 kB / 0.6562 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.4409, allocations: 7.314 MB / 0.6634 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4409, allocations: 8 kB / 0.6634 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.4453, allocations: 3.753 MB / 0.6671 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.4464, allocations: 414.4 kB / 0.6675 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.4466, allocations: 35.98 kB / 0.6675 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.4472, allocations: 95.95 kB / 0.6676 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.4475, allocations: 128.9 kB / 0.6677 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.4475, allocations: 47.98 kB / 0.6677 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001627/0.4492, allocations: 1.368 MB / 0.6691 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4492, allocations: 0 / 0.6691 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001909/0.4511, allocations: 0.5859 MB / 0.6697 GB, free: 8.574 MB / 0.4948 GB 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 (124): * Single equations (assignments): 119 * 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.004581/0.4557, allocations: 4.424 MB / 0.674 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.459, allocations: 2.443 MB / 0.6764 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.459, allocations: 0 / 0.6764 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.4613, allocations: 1.541 MB / 0.6779 GB, free: 20 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.464, allocations: 0.4959 MB / 0.6783 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.4912, allocations: 21.67 MB / 0.6995 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.4928, allocations: 1.585 MB / 0.7011 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001356/0.4942, allocations: 480.9 kB / 0.7015 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.4952, allocations: 1.069 MB / 0.7026 GB, free: 6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.194e-06/0.4952, allocations: 4 kB / 0.7026 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/0.6324, allocations: 56.97 MB / 0.7582 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.33, allocations: 3.938 kB / 0.7582 GB, free: 13.42 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=2.05 --stepSize=0.000100005 --timeout=50 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy_res.csv --start-time 0 --stop-time 2.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000100005 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.652094948105514]