Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001802/0.001802, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002218/0.002218, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 53.4 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01003/0.3169, allocations: 7.152 MB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.322, allocations: 2.494 MB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009409/0.3229, allocations: 27.88 kB / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3245, allocations: 0.517 MB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3261, allocations: 0.4955 MB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.3266, allocations: 251.7 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3286, allocations: 1.471 MB / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.3293, allocations: 381.1 kB / 443.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.3303, allocations: 0.5759 MB / 444.5 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.331, allocations: 0.5129 MB / 445 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.3312, allocations: 140 kB / 445.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.3315, allocations: 172 kB / 445.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.3317, allocations: 283 kB / 445.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.3322, allocations: 0.5327 MB / 446.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.3344, allocations: 1.739 MB / 447.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.3344, allocations: 4 kB / 447.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3344, allocations: 3.938 kB / 447.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.726e-05/0.3345, allocations: 4 kB / 447.9 MB, free: 5.609 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002757/0.3372, allocations: 1.403 MB / 449.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3373, allocations: 15.98 kB / 449.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.3375, allocations: 148.4 kB / 449.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006773/0.3381, allocations: 192 kB / 449.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.3395, allocations: 0.6727 MB / 450.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.3396, allocations: 78 kB / 450.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3398, allocations: 103.9 kB / 450.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3415, allocations: 1.035 MB / 451.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.3415, allocations: 3.984 kB / 451.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.3416, allocations: 40 kB / 451.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.3416, allocations: 27.94 kB / 451.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.3429, allocations: 0.6324 MB / 452.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005508/0.3484, allocations: 3.498 MB / 455.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.3491, allocations: 345.5 kB / 456.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.3497, allocations: 250.2 kB / 456.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.3498, allocations: 4.328 kB / 456.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3498, allocations: 38.89 kB / 456.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 3.035e-06/0.3498, allocations: 0 / 456.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002933/0.3528, allocations: 1.264 MB / 457.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.3528, allocations: 89.05 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.3541, allocations: 0.833 MB / 458.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.3541, allocations: 41.64 kB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.3546, allocations: 0.5658 MB / 459.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3548, allocations: 170.6 kB / 459.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.355, allocations: 126.6 kB / 459.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3552, allocations: 337.9 kB / 459.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3556, allocations: 165.9 kB / 459.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.3562, allocations: 485.7 kB / 460.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3573, allocations: 0.6622 MB / 461 MB, free: 7.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.3573, allocations: 4 kB / 461.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001604/0.3589, allocations: 0.767 MB / 461.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.359, allocations: 8 kB / 461.8 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.359, allocations: 15.94 kB / 461.8 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3593, allocations: 90.02 kB / 461.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.3598, allocations: 155.7 kB / 462.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.3629, allocations: 2.916 MB / 465 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.3637, allocations: 35.94 kB / 465 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.3637, allocations: 32 kB / 465.1 MB, free: 3.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.3642, allocations: 277.6 kB / 465.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3644, allocations: 91.44 kB / 465.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3654, allocations: 491.5 kB / 465.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3655, allocations: 8 kB / 465.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3655, allocations: 4 kB / 465.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3655, allocations: 3.984 kB / 465.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.3681, allocations: 1.306 MB / 467.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3681, allocations: 0 / 467.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3684, allocations: 71.91 kB / 467.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.3687, allocations: 69.67 kB / 467.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3687, allocations: 12.05 kB / 467.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.372, allocations: 2.904 MB / 470.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.372, allocations: 8.188 kB / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3737, allocations: 0.7748 MB / 471.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.3741, allocations: 127.4 kB / 471.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3742, allocations: 12 kB / 471.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.3747, allocations: 27.97 kB / 471.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3748, allocations: 39.89 kB / 471.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.3749, allocations: 11.98 kB / 471.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.3759, allocations: 0.5615 MB / 471.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3759, allocations: 0 / 471.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009704/0.3769, allocations: 211.9 kB / 472 MB, free: 12.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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,5,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.001918/0.3788, allocations: 1.33 MB / 473.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.3803, allocations: 0.6741 MB / 474 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3803, allocations: 0 / 474 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.3811, allocations: 434.2 kB / 474.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3822, allocations: 222.3 kB / 474.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.3937, allocations: 7.331 MB / 482 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.3942, allocations: 417.9 kB / 482.4 MB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.3946, allocations: 107.2 kB / 482.5 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.3951, allocations: 367.3 kB / 482.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3951, allocations: 0 / 482.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0659/0.461, allocations: 20.89 MB / 0.492 GB, free: 12.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.74, allocations: 11.38 kB / 0.492 GB, free: 12.07 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.769247679039836]