Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003316/0.003316, allocations: 75.81 kB / 369 MB, free: 6.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.349, allocations: 53.32 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01043/0.3595, allocations: 8.266 MB / 430.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.3658, allocations: 2.762 MB / 433.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.3674, allocations: 23.94 kB / 433.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.3695, allocations: 0.5871 MB / 433.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.3719, allocations: 0.5002 MB / 434.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.373, allocations: 279.6 kB / 434.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.3757, allocations: 1.501 MB / 436.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.3767, allocations: 398.9 kB / 436.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3781, allocations: 0.5797 MB / 437.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3798, allocations: 0.6106 MB / 437.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.3802, allocations: 140 kB / 437.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.3808, allocations: 188 kB / 438.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.3811, allocations: 290.9 kB / 438.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008062/0.3819, allocations: 0.6687 MB / 439 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.3844, allocations: 1.767 MB / 440.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3844, allocations: 0 / 440.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3844, allocations: 0 / 440.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.3844, allocations: 3.938 kB / 440.8 MB, free: 5.227 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002945/0.3874, allocations: 1.521 MB / 442.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3874, allocations: 8.031 kB / 442.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/0.3882, allocations: 208 kB / 442.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3897, allocations: 0.7665 MB / 443.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.3897, allocations: 70 kB / 443.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.3899, allocations: 99.95 kB / 443.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3916, allocations: 0.9503 MB / 444.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.3916, allocations: 0 / 444.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.3917, allocations: 44 kB / 444.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.3917, allocations: 24 kB / 444.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3931, allocations: 0.6481 MB / 445.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.3988, allocations: 3.923 MB / 449.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.3995, allocations: 431.7 kB / 449.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.4002, allocations: 264.6 kB / 449.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.4002, allocations: 7.938 kB / 449.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.4002, allocations: 34.56 kB / 449.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.335e-06/0.4002, allocations: 0 / 449.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003309/0.4036, allocations: 1.568 MB / 451.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.4036, allocations: 89.03 kB / 451.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4048, allocations: 0.8411 MB / 452.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4049, allocations: 33.7 kB / 452.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.4053, allocations: 0.5736 MB / 452.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4055, allocations: 174.6 kB / 453.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.4057, allocations: 134.5 kB / 453.2 MB, free: 8.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4058, allocations: 337.9 kB / 453.5 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.4062, allocations: 169.9 kB / 453.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.4068, allocations: 471.6 kB / 454.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.4079, allocations: 0.6762 MB / 454.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4079, allocations: 4 kB / 454.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001491/0.4094, allocations: 0.7869 MB / 455.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4094, allocations: 8.375 kB / 455.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.4094, allocations: 16 kB / 455.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.4097, allocations: 81.61 kB / 455.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.4102, allocations: 159.7 kB / 455.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.4131, allocations: 3.151 MB / 459 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.4137, allocations: 39.94 kB / 459.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4138, allocations: 32 kB / 459.1 MB, free: 1.84 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 (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.0004624/0.4142, allocations: 265.5 kB / 459.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4144, allocations: 91.44 kB / 459.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4154, allocations: 0.4993 MB / 459.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4154, allocations: 4 kB / 460 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4154, allocations: 0 / 460 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4154, allocations: 8 kB / 460 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.4178, allocations: 1.47 MB / 461.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4178, allocations: 8.125 kB / 461.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.4182, allocations: 71.91 kB / 461.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.4184, allocations: 73.89 kB / 461.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4185, allocations: 12 kB / 461.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.4212, allocations: 3.126 MB / 464.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4212, allocations: 0 / 464.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4227, allocations: 0.8097 MB / 465.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.4231, allocations: 208.6 kB / 465.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4232, allocations: 19.88 kB / 465.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.4237, allocations: 35.97 kB / 465.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4238, allocations: 39.64 kB / 465.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4238, allocations: 15.94 kB / 465.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008655/0.4247, allocations: 0.5732 MB / 466.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4247, allocations: 0 / 466.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009044/0.4256, allocations: 212 kB / 466.6 MB, free: 9.863 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 (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.000234/0.4258, allocations: 119.2 kB / 466.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4271, allocations: 0.6754 MB / 467.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4271, allocations: 0 / 467.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.4278, allocations: 446.1 kB / 467.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4289, allocations: 233.7 kB / 468.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.4319, allocations: 1.776 MB / 469.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.4326, allocations: 1.013 MB / 470.9 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.433, allocations: 111.3 kB / 471 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4331, allocations: 55.44 kB / 471 MB, free: 5.316 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4331, allocations: 0 / 471 MB, free: 5.316 MB / 382.1 MB Notification: Performance of Templates: time 0.0223/0.4554, allocations: 11.07 MB / 482.1 MB, free: 10.37 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches