Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001522/0.001522, allocations: 103.6 kB / 21.18 MB, free: 332 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.001776/0.001776, allocations: 213 kB / 24.47 MB, free: 3.547 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.359/1.359, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",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.001815/0.001815, allocations: 55.91 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2221, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006786/0.2289, allocations: 7.008 MB / 403.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.2326, allocations: 2.455 MB / 405.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.2334, allocations: 27.88 kB / 405.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.2347, allocations: 0.5245 MB / 406.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2357, allocations: 489.8 kB / 406.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.2362, allocations: 236.4 kB / 407.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.2373, allocations: 1.436 MB / 408.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.2378, allocations: 372.1 kB / 408.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005641/0.2384, allocations: 0.5589 MB / 409.4 MB, free: 460 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.2389, allocations: 0.4982 MB / 409.9 MB, free: 220 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.2391, allocations: 134.9 kB / 410.1 MB, free: 220 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.2394, allocations: 167.6 kB / 410.2 MB, free: 216 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.2396, allocations: 284.1 kB / 410.5 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.2401, allocations: 0.524 MB / 411 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.2419, allocations: 1.716 MB / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2419, allocations: 0 / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2419, allocations: 0 / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2419, allocations: 0 / 412.7 MB, free: 14.64 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00238/0.2443, allocations: 1.39 MB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2444, allocations: 14.42 kB / 414.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2445, allocations: 152 kB / 414.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005231/0.245, allocations: 178 kB / 414.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.2463, allocations: 0.652 MB / 415.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.2464, allocations: 72.97 kB / 415.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.2465, allocations: 103.3 kB / 415.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.248, allocations: 1 MB / 416.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.2481, allocations: 2.125 kB / 416.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.2482, allocations: 40.62 kB / 416.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2482, allocations: 24.09 kB / 416.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.2494, allocations: 0.6156 MB / 417 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.2544, allocations: 3.503 MB / 420.5 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.255, allocations: 252.8 kB / 420.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2553, allocations: 137.4 kB / 420.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2553, allocations: 3.656 kB / 420.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2554, allocations: 48.98 kB / 420.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.2554, allocations: 0 / 420.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002327/0.2577, allocations: 1.059 MB / 422 MB, free: 7.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.2578, allocations: 89.17 kB / 422.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2589, allocations: 0.8406 MB / 422.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2589, allocations: 31.2 kB / 422.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.2594, allocations: 0.5818 MB / 423.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2595, allocations: 131.2 kB / 423.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2597, allocations: 131.6 kB / 423.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2598, allocations: 335.9 kB / 424.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2601, allocations: 147.4 kB / 424.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.2607, allocations: 486 kB / 424.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.2616, allocations: 0.628 MB / 425.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2616, allocations: 3.406 kB / 425.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001182/0.2628, allocations: 0.69 MB / 426 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.2628, allocations: 19.94 kB / 426.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2628, allocations: 11.94 kB / 426.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.263, allocations: 36.84 kB / 426.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2634, allocations: 155.7 kB / 426.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.2646, allocations: 1.291 MB / 427.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.2651, allocations: 36 kB / 427.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.2651, allocations: 36 kB / 427.6 MB, free: 2.941 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003732/0.2655, allocations: 266 kB / 427.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.2656, allocations: 87.42 kB / 428 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007351/0.2664, allocations: 378.2 kB / 428.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2664, allocations: 0 / 428.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2664, allocations: 4 kB / 428.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2664, allocations: 3.984 kB / 428.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.2682, allocations: 1.145 MB / 429.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2683, allocations: 12.02 kB / 429.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.2686, allocations: 75.88 kB / 429.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.2686, allocations: 24.84 kB / 429.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.2687, allocations: 8 kB / 429.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.2697, allocations: 1.256 MB / 430.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2697, allocations: 8.094 kB / 430.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2707, allocations: 0.6327 MB / 431.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.271, allocations: 115.4 kB / 431.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.2711, allocations: 11.94 kB / 431.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2715, allocations: 35.86 kB / 431.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.2715, allocations: 31.88 kB / 431.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2716, allocations: 20 kB / 431.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007557/0.2723, allocations: 0.5537 MB / 432.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2723, allocations: 0 / 432.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007169/0.273, allocations: 196 kB / 432.5 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001454/0.2745, allocations: 1.192 MB / 433.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009832/0.2755, allocations: 496.2 kB / 434.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2755, allocations: 4 kB / 434.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.2759, allocations: 263.3 kB / 434.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.2769, allocations: 215.5 kB / 434.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.287, allocations: 7.115 MB / 441.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.2874, allocations: 409 kB / 442.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.2878, allocations: 98.89 kB / 442.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.2883, allocations: 367.3 kB / 442.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2883, allocations: 0 / 442.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05699/0.3453, allocations: 19.55 MB / 462.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.86, allocations: 11.86 kB / 462.1 MB, free: 15.52 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.4183751931414]