Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.005354/0.005354, allocations: 114.2 kB / 21.97 MB, free: 5.223 MB / 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.00158/0.00158, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.306/1.306, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="cs",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.001713/0.001713, allocations: 55.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2271, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007185/0.2343, allocations: 8.25 MB / 405.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.2381, allocations: 2.752 MB / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.2388, allocations: 28.12 kB / 408.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.24, allocations: 0.5798 MB / 408.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009185/0.241, allocations: 0.5049 MB / 409.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.2414, allocations: 264.1 kB / 409.5 MB, free: 248 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2429, allocations: 1.504 MB / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.2435, allocations: 395 kB / 411.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.2443, allocations: 0.5841 MB / 412 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007378/0.245, allocations: 0.6112 MB / 412.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.2452, allocations: 144.1 kB / 412.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.2455, allocations: 184.7 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.2458, allocations: 284.5 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006419/0.2464, allocations: 0.6731 MB / 413.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.2484, allocations: 1.764 MB / 415.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.2484, allocations: 4 kB / 415.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2484, allocations: 0 / 415.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.2484, allocations: 1.125 kB / 415.6 MB, free: 12.73 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002451/0.2509, allocations: 1.437 MB / 417.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2509, allocations: 13.45 kB / 417.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.2509, allocations: 26.19 kB / 417.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.2511, allocations: 150.3 kB / 417.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.2517, allocations: 194.1 kB / 417.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2529, allocations: 0.6933 MB / 418.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.253, allocations: 70.12 kB / 418.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.2531, allocations: 103.8 kB / 418.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2546, allocations: 0.9431 MB / 419.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.2547, allocations: 5.844 kB / 419.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.2547, allocations: 41.41 kB / 419.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.2548, allocations: 24.16 kB / 419.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.256, allocations: 0.6547 MB / 420 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.2613, allocations: 3.808 MB / 423.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.262, allocations: 352 kB / 424.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.2626, allocations: 261 kB / 424.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.2626, allocations: 4 kB / 424.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.2626, allocations: 37.44 kB / 424.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/0.2626, allocations: 0 / 424.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003044/0.2657, allocations: 1.347 MB / 425.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2657, allocations: 82.2 kB / 425.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2669, allocations: 0.8389 MB / 426.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2669, allocations: 35.14 kB / 426.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.2673, allocations: 0.5829 MB / 427.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.2675, allocations: 170.2 kB / 427.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2677, allocations: 133.3 kB / 427.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2679, allocations: 336 kB / 427.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.2683, allocations: 168.1 kB / 428.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.2689, allocations: 476.2 kB / 428.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.2699, allocations: 0.6852 MB / 429.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2699, allocations: 4 kB / 429.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001373/0.2713, allocations: 0.7868 MB / 430 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2713, allocations: 8.438 kB / 430 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2713, allocations: 12 kB / 430.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.2716, allocations: 93.61 kB / 430.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.272, allocations: 151.8 kB / 430.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.2746, allocations: 2.935 MB / 433.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.2752, allocations: 35.98 kB / 433.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.2752, allocations: 35.94 kB / 433.3 MB, free: 14.16 MB / 350.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 (85): * 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: 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.0004065/0.2756, allocations: 269.5 kB / 433.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2758, allocations: 95.45 kB / 433.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.2767, allocations: 0.4917 MB / 434.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2767, allocations: 4 kB / 434.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2767, allocations: 8 kB / 434.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2768, allocations: 3.984 kB / 434.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.279, allocations: 1.442 MB / 435.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.279, allocations: 0 / 435.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.2793, allocations: 71.89 kB / 435.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.2795, allocations: 77.89 kB / 435.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2795, allocations: 8 kB / 435.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.2818, allocations: 2.935 MB / 438.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2818, allocations: 0 / 438.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2831, allocations: 0.8063 MB / 439.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.2834, allocations: 131.3 kB / 439.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2835, allocations: 12 kB / 439.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.2839, allocations: 31.98 kB / 439.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.284, allocations: 31.94 kB / 439.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.284, allocations: 15.98 kB / 439.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007552/0.2848, allocations: 0.5732 MB / 440.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2848, allocations: 0 / 440.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.2856, allocations: 215.9 kB / 440.5 MB, free: 6.57 MB / 350.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 (39): * Single equations (assignments): 37 * 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.001655/0.2873, allocations: 1.362 MB / 441.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.2884, allocations: 0.6861 MB / 442.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2884, allocations: 3.938 kB / 442.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.2891, allocations: 445.8 kB / 443 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.2901, allocations: 221 kB / 443.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.3007, allocations: 7.479 MB / 450.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.3014, allocations: 1.013 MB / 451.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003864/0.3017, allocations: 107.3 kB / 451.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.3022, allocations: 391.3 kB / 452.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3022, allocations: 0 / 452.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.3552, allocations: 20.12 MB / 472.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.7, allocations: 15.75 kB / 472.3 MB, free: 6.102 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 17.538528928998858]