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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 105.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 58.56 kB / 306.3 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1052, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009601/0.1149, allocations: 8.083 MB / 364.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.1197, allocations: 2.646 MB / 367.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1208, allocations: 23.94 kB / 367.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.1226, allocations: 0.4903 MB / 368 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.124, allocations: 401.2 kB / 368.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.1246, allocations: 215.8 kB / 368.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.1264, allocations: 1.404 MB / 370 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008031/0.1272, allocations: 0.4967 MB / 370.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.1281, allocations: 0.4978 MB / 371 MB, free: 196 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1685/0.2965, allocations: 0.5572 MB / 371.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.2969, allocations: 84.84 kB / 371.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.2974, allocations: 127.2 kB / 371.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2976, allocations: 227.2 kB / 372 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.2982, allocations: 0.6104 MB / 372.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.2999, allocations: 1.66 MB / 374.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2999, allocations: 2.234 kB / 374.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2999, allocations: 1.188 kB / 374.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.2999, allocations: 0 / 374.3 MB, free: 10.71 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002444/0.3024, allocations: 1.453 MB / 375.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3024, allocations: 9.844 kB / 375.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.3031, allocations: 184.9 kB / 375.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3042, allocations: 0.7297 MB / 376.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.3042, allocations: 71.88 kB / 376.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3044, allocations: 99.97 kB / 376.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.3061, allocations: 0.9338 MB / 377.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.3061, allocations: 6.828 kB / 377.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.3062, allocations: 43.19 kB / 377.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.3062, allocations: 30.28 kB / 377.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.3075, allocations: 0.6361 MB / 378.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.3123, allocations: 3.919 MB / 382.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.3129, allocations: 430.8 kB / 382.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.3135, allocations: 257.3 kB / 383.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.3135, allocations: 8.453 kB / 383.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3135, allocations: 38.56 kB / 383.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.3135, allocations: 1.344 kB / 383.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002598/0.3161, allocations: 1.391 MB / 384.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3162, allocations: 85.67 kB / 384.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3173, allocations: 0.8234 MB / 385.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3173, allocations: 36.55 kB / 385.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.3176, allocations: 0.5588 MB / 386 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.3177, allocations: 156.4 kB / 386.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.3179, allocations: 131.3 kB / 386.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.3179, allocations: 333.4 kB / 386.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3182, allocations: 165.1 kB / 386.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.3187, allocations: 463.2 kB / 387.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.3194, allocations: 0.6637 MB / 387.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3194, allocations: 2.531 kB / 387.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001243/0.3207, allocations: 0.7666 MB / 388.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3207, allocations: 8.844 kB / 388.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3207, allocations: 10.28 kB / 388.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.321, allocations: 80.88 kB / 388.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.3215, allocations: 160.4 kB / 388.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.3231, allocations: 2.874 MB / 391.8 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.3237, allocations: 32.08 kB / 391.8 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.3238, allocations: 39.14 kB / 391.9 MB, free: 228 kB / 302.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.0003461/0.3241, allocations: 267.7 kB / 392.1 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3243, allocations: 84.8 kB / 392.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009488/0.3252, allocations: 490.9 kB / 392.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3253, allocations: 5.469 kB / 392.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3253, allocations: 1.062 kB / 392.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3253, allocations: 3.891 kB / 392.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3275, allocations: 1.433 MB / 394.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3275, allocations: 10.97 kB / 394.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.3278, allocations: 66.27 kB / 394.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.3281, allocations: 79.67 kB / 394.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3281, allocations: 8.906 kB / 394.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.3303, allocations: 2.865 MB / 397.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3303, allocations: 1.062 kB / 397.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3316, allocations: 0.7599 MB / 397.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.3319, allocations: 201.2 kB / 398.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.332, allocations: 12.5 kB / 398.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.3325, allocations: 29.61 kB / 398.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.3326, allocations: 39.77 kB / 398.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3326, allocations: 8.938 kB / 398.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000775/0.3334, allocations: 0.5651 MB / 398.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3334, allocations: 0 / 398.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.3343, allocations: 201.5 kB / 399 MB, free: 11.04 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 (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.000242/0.3345, allocations: 128.1 kB / 399.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3357, allocations: 0.6798 MB / 399.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3357, allocations: 1.938 kB / 399.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.3363, allocations: 447 kB / 400.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3375, allocations: 211.2 kB / 400.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.3408, allocations: 2.137 MB / 402.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.3413, allocations: 1.007 MB / 403.6 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.3418, allocations: 102.6 kB / 403.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.342, allocations: 59.23 kB / 403.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of SimCode: time 2.365e-06/0.342, allocations: 0 / 403.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of Templates: time 0.02048/0.3625, allocations: 10.04 MB / 413.8 MB, free: 15.83 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches