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.001577/0.001577, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001746/0.001746, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001848/0.001848, allocations: 64.12 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1201, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2523/0.3723, allocations: 8.139 MB / 434.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.377, allocations: 2.672 MB / 437.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.3778, allocations: 24.41 kB / 437.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.3795, allocations: 0.5723 MB / 438.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3809, allocations: 0.4956 MB / 438.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.3814, allocations: 246 kB / 438.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3829, allocations: 1.475 MB / 440.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.3835, allocations: 411.6 kB / 440.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.3843, allocations: 0.5571 MB / 441.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.385, allocations: 0.5942 MB / 441.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.3852, allocations: 138.5 kB / 442 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.3856, allocations: 178.6 kB / 442.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3858, allocations: 278.8 kB / 442.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.3864, allocations: 0.6597 MB / 443.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.3888, allocations: 1.733 MB / 444.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3888, allocations: 0.5312 kB / 444.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3888, allocations: 4 kB / 444.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.3888, allocations: 4.438 kB / 444.8 MB, free: 2.758 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.00268/0.3915, allocations: 1.479 MB / 446.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3916, allocations: 10.06 kB / 446.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.3918, allocations: 154 kB / 446.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.3924, allocations: 194 kB / 446.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.3937, allocations: 0.7396 MB / 447.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.3937, allocations: 72.91 kB / 447.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.3939, allocations: 106 kB / 447.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3954, allocations: 0.9322 MB / 448.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3954, allocations: 6.922 kB / 448.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.3955, allocations: 38.62 kB / 448.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.3955, allocations: 28.33 kB / 448.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.3967, allocations: 0.636 MB / 449.2 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006164/0.4029, allocations: 3.891 MB / 453.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.4037, allocations: 425.9 kB / 453.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.4043, allocations: 251.7 kB / 453.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.4044, allocations: 4.234 kB / 453.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4044, allocations: 39.56 kB / 453.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.915e-06/0.4044, allocations: 0 / 453.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003109/0.4075, allocations: 1.411 MB / 455.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.4076, allocations: 86.92 kB / 455.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4089, allocations: 0.8277 MB / 456.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.4089, allocations: 31.14 kB / 456.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.4094, allocations: 0.5676 MB / 456.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.4096, allocations: 170 kB / 456.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.4098, allocations: 129.2 kB / 457 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.41, allocations: 333.7 kB / 457.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.4103, allocations: 169.1 kB / 457.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.4109, allocations: 460.4 kB / 458 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.4118, allocations: 0.6614 MB / 458.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4118, allocations: 1.5 kB / 458.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001423/0.4132, allocations: 0.7685 MB / 459.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4132, allocations: 8.812 kB / 459.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4133, allocations: 11.16 kB / 459.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.4135, allocations: 89.36 kB / 459.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.414, allocations: 154.9 kB / 459.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.4168, allocations: 3.136 MB / 462.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.4175, allocations: 36.28 kB / 462.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.4175, allocations: 32.72 kB / 462.8 MB, free: 6.277 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.0004228/0.418, allocations: 268.4 kB / 463.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.4181, allocations: 89.22 kB / 463.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.419, allocations: 490.9 kB / 463.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.419, allocations: 3.969 kB / 463.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.419, allocations: 5 kB / 463.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.419, allocations: 5.266 kB / 463.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.4214, allocations: 1.436 MB / 465.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4214, allocations: 1.656 kB / 465.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.4217, allocations: 77.52 kB / 465.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.4219, allocations: 64.66 kB / 465.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4219, allocations: 16.3 kB / 465.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.4246, allocations: 3.131 MB / 468.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.4246, allocations: 14.16 kB / 468.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.426, allocations: 0.7612 MB / 469.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.4264, allocations: 209.6 kB / 469.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4266, allocations: 12.91 kB / 469.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.4271, allocations: 22.08 kB / 469.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4272, allocations: 40.92 kB / 469.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.4272, allocations: 14.66 kB / 469.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008982/0.4281, allocations: 0.5607 MB / 470 MB, free: 332 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 4 kB / 470 MB, free: 328 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001188/0.4293, allocations: 204.5 kB / 470.2 MB, free: 308 kB / 366.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.001769/0.4311, allocations: 1.34 MB / 471.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.4325, allocations: 0.6692 MB / 472.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4325, allocations: 1.75 kB / 472.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.4332, allocations: 439.9 kB / 472.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4342, allocations: 229.1 kB / 472.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.446, allocations: 7.318 MB / 480.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.4467, allocations: 1.003 MB / 481.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.4472, allocations: 111.3 kB / 481.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.4476, allocations: 374 kB / 481.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4476, allocations: 0 / 481.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/0.5052, allocations: 19.23 MB / 0.4892 GB, free: 5.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.77, allocations: 0 / 0.4892 GB, free: 5.285 MB / 398.1 MB " [Timeout remaining time 648] (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_2/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_2/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: 15.846705360803753]