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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=40000,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=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000815/0.000815, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008857/0.0008857, allocations: 211.4 kB / 18.29 MB, free: 5.363 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.451/1.451, allocations: 228 MB / 247.1 MB, free: 11.04 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.0002741/0.0002741, allocations: 8.875 kB / 308 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09809, allocations: 51.53 MB / 359.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.008618/0.1067, allocations: 7.71 MB / 367.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.1115, allocations: 2.704 MB / 370 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.1121, allocations: 23.94 kB / 370 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1135, allocations: 0.4902 MB / 370.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1147, allocations: 417.1 kB / 370.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1153, allocations: 235.8 kB / 371.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1168, allocations: 1.428 MB / 372.6 MB, free: 44 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1713/0.2881, allocations: 0.4892 MB / 373.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.2894, allocations: 484.4 kB / 373.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.2902, allocations: 0.5267 MB / 374.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.2904, allocations: 67.33 kB / 374.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.2909, allocations: 110.3 kB / 374.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2911, allocations: 206.1 kB / 374.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.2918, allocations: 0.6135 MB / 375 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.2938, allocations: 1.645 MB / 376.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2938, allocations: 0 / 376.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2938, allocations: 7.125 kB / 376.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.984e-05/0.2938, allocations: 3.625 kB / 376.7 MB, free: 9.562 MB / 302.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.002299/0.2961, allocations: 1.276 MB / 378 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2962, allocations: 9.625 kB / 378 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007061/0.2969, allocations: 207.8 kB / 378.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.298, allocations: 0.7544 MB / 378.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.298, allocations: 73.41 kB / 379 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2982, allocations: 96.17 kB / 379.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.2999, allocations: 0.9496 MB / 380.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.3, allocations: 9.734 kB / 380.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.3001, allocations: 40.56 kB / 380.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.3001, allocations: 24.31 kB / 380.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.3014, allocations: 0.6644 MB / 380.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005036/0.3064, allocations: 3.985 MB / 384.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.3071, allocations: 451.9 kB / 385.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.3077, allocations: 275.8 kB / 385.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.3077, allocations: 9.25 kB / 385.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.3077, allocations: 36.59 kB / 385.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3077, allocations: 0 / 385.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002859/0.3106, allocations: 1.576 MB / 387.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3107, allocations: 86.17 kB / 387.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3118, allocations: 0.8414 MB / 388 MB, free: 4.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3118, allocations: 39.55 kB / 388.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.3121, allocations: 0.5665 MB / 388.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.3122, allocations: 159.3 kB / 388.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.3123, allocations: 61.75 kB / 388.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.3123, allocations: 335.6 kB / 389.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3127, allocations: 180.5 kB / 389.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.3131, allocations: 481.7 kB / 389.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008689/0.314, allocations: 0.6877 MB / 390.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.314, allocations: 3.25 kB / 390.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001263/0.3153, allocations: 0.8001 MB / 391.3 MB, free: 2.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3153, allocations: 9.188 kB / 391.3 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3154, allocations: 16.09 kB / 391.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.3156, allocations: 79.17 kB / 391.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.3161, allocations: 161 kB / 391.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.3181, allocations: 2.883 MB / 394.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/0.3188, allocations: 44.81 kB / 394.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.3189, allocations: 32.12 kB / 394.5 MB, free: 15.27 MB / 318.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.0004818/0.3193, allocations: 264.4 kB / 394.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3195, allocations: 86.28 kB / 394.9 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3206, allocations: 0.5169 MB / 395.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3206, allocations: 8.25 kB / 395.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3206, allocations: 2.438 kB / 395.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3206, allocations: 3.344 kB / 395.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.323, allocations: 1.489 MB / 396.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3231, allocations: 1.156 kB / 396.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.3234, allocations: 79.28 kB / 397 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.3236, allocations: 75.73 kB / 397.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3237, allocations: 17 kB / 397.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.3261, allocations: 2.862 MB / 399.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3262, allocations: 1.375 kB / 399.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3277, allocations: 0.8195 MB / 400.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.328, allocations: 202 kB / 401 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3281, allocations: 12.91 kB / 401 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.3286, allocations: 28.61 kB / 401 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.3287, allocations: 44.59 kB / 401 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3287, allocations: 18 kB / 401.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008897/0.3296, allocations: 0.5743 MB / 401.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3296, allocations: 0 / 401.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009325/0.3306, allocations: 213.3 kB / 401.8 MB, free: 9.645 MB / 318.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.0002161/0.3308, allocations: 128.5 kB / 402 MB, free: 9.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.332, allocations: 0.7165 MB / 402.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.332, allocations: 0.625 kB / 402.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.3327, allocations: 456.1 kB / 403.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.334, allocations: 215.6 kB / 403.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.3372, allocations: 2.279 MB / 405.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.3379, allocations: 1.009 MB / 406.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.3383, allocations: 109.2 kB / 406.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3385, allocations: 55.44 kB / 406.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3385, allocations: 0 / 406.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of Templates: time 0.02079/0.3593, allocations: 10.12 MB / 416.9 MB, free: 13.14 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (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) 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) Reference file matches