Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.001526/0.001526, allocations: 107.6 kB / 21.18 MB, free: 472 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.001699/0.001699, allocations: 208 kB / 24.47 MB, free: 3.801 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.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.824 MB / 190.1 MB " [Timeout remaining time 178] 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.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",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.001737/0.001737, allocations: 57.8 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2461, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01133/0.2574, allocations: 10.16 MB / 406.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007082/0.2645, allocations: 3.056 MB / 409.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.2661, allocations: 42.06 kB / 409.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.2679, allocations: 0.6228 MB / 410.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.2702, allocations: 0.7322 MB / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2712, allocations: 398.7 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.2743, allocations: 2.249 MB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.2753, allocations: 0.6081 MB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.2767, allocations: 0.8683 MB / 415.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2777, allocations: 0.7787 MB / 415.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.278, allocations: 217.3 kB / 416.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.2785, allocations: 250.6 kB / 416.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.2788, allocations: 438.5 kB / 416.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.2797, allocations: 0.8236 MB / 417.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.2825, allocations: 2.711 MB / 420.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2825, allocations: 0 / 420.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2825, allocations: 0 / 420.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.2826, allocations: 0 / 420.3 MB, free: 9.137 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003568/0.2861, allocations: 2.039 MB / 422.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2862, allocations: 13.27 kB / 422.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/0.2865, allocations: 222.1 kB / 422.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.2872, allocations: 265 kB / 422.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.289, allocations: 0.9728 MB / 423.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.2891, allocations: 116.4 kB / 423.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.2893, allocations: 162 kB / 424.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.2918, allocations: 1.587 MB / 425.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.2919, allocations: 8.109 kB / 425.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.292, allocations: 61.81 kB / 425.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.292, allocations: 39.06 kB / 425.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.2939, allocations: 0.9796 MB / 426.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008052/0.302, allocations: 5.928 MB / 432.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.3028, allocations: 376.6 kB / 433 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.3032, allocations: 210.1 kB / 433.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3033, allocations: 4.438 kB / 433.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/0.3038, allocations: 324.2 kB / 433.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.265e-06/0.3038, allocations: 0 / 433.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003245/0.3071, allocations: 1.556 MB / 435.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.3072, allocations: 166.7 kB / 435.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.309, allocations: 1.308 MB / 436.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.3091, allocations: 37.7 kB / 436.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.3099, allocations: 0.8934 MB / 437.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.31, allocations: 214.2 kB / 437.7 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.3103, allocations: 222.8 kB / 437.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3105, allocations: 357.9 kB / 438.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.311, allocations: 260.2 kB / 438.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3121, allocations: 0.9249 MB / 439.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3136, allocations: 1.117 MB / 440.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.3136, allocations: 8 kB / 440.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002014/0.3156, allocations: 1.205 MB / 441.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.3156, allocations: 37.7 kB / 441.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.3157, allocations: 27.94 kB / 441.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.3159, allocations: 69.69 kB / 441.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.3167, allocations: 264 kB / 442.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3189, allocations: 2.566 MB / 444.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.3198, allocations: 72.23 kB / 444.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.3199, allocations: 67.94 kB / 444.9 MB, free: 0.9648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.3204, allocations: 349.3 kB / 445.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.3206, allocations: 143 kB / 445.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3217, allocations: 0.5513 MB / 445.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3217, allocations: 7.938 kB / 445.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3217, allocations: 0 / 445.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3217, allocations: 7.984 kB / 445.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.3245, allocations: 1.705 MB / 447.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3245, allocations: 0 / 447.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3249, allocations: 103.8 kB / 447.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.325, allocations: 46.16 kB / 447.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.325, allocations: 20 kB / 447.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.3271, allocations: 2.535 MB / 450.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.3271, allocations: 8.25 kB / 450.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3285, allocations: 0.9304 MB / 451.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.3289, allocations: 187.1 kB / 451.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3291, allocations: 19.98 kB / 451.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.3296, allocations: 27.98 kB / 451.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3297, allocations: 59.58 kB / 451.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.3297, allocations: 23.98 kB / 451.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.331, allocations: 0.8461 MB / 452.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 452.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001097/0.3321, allocations: 304 kB / 452.7 MB, free: 8.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,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.001985/0.3341, allocations: 1.515 MB / 454.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.3358, allocations: 0.9185 MB / 455.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3358, allocations: 0 / 455.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.3365, allocations: 462.2 kB / 455.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.338, allocations: 336.9 kB / 455.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.3559, allocations: 11.04 MB / 467 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.3566, allocations: 0.5927 MB / 467.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006644/0.3572, allocations: 167.3 kB / 467.7 MB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.358, allocations: 0.5774 MB / 468.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.358, allocations: 3.938 kB / 468.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07302/0.431, allocations: 30.1 MB / 498.4 MB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.43, allocations: 4 kB / 498.4 MB, free: 9.84 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStationary/DCPM_QuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.82885058503598]