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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 51.92 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.0821, allocations: 46.63 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009277/0.09143, allocations: 7.924 MB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.09594, allocations: 2.634 MB / 338.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.09694, allocations: 23.94 kB / 338.5 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.09857, allocations: 0.5442 MB / 339.1 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.09991, allocations: 456.4 kB / 339.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1004, allocations: 243.7 kB / 339.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.1019, allocations: 1.428 MB / 341.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.1026, allocations: 0.5885 MB / 341.8 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.1033, allocations: 0.5369 MB / 342.3 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.1039, allocations: 0.5755 MB / 342.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1041, allocations: 136 kB / 343 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.1044, allocations: 176 kB / 343.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.1046, allocations: 275 kB / 343.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.1051, allocations: 0.6493 MB / 344.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1066, allocations: 1.674 MB / 345.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1066, allocations: 0 / 345.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1066, allocations: 0 / 345.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.1066, allocations: 3.938 kB / 345.8 MB, free: 2.516 MB / 286.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.002346/0.109, allocations: 1.429 MB / 347.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.109, allocations: 8.031 kB / 347.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/0.1096, allocations: 167.4 kB / 347.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009932/0.1106, allocations: 0.7183 MB / 348.1 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.1107, allocations: 78 kB / 348.2 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1108, allocations: 99.89 kB / 348.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.1123, allocations: 0.919 MB / 349.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1123, allocations: 4 kB / 349.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.1124, allocations: 44 kB / 349.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1124, allocations: 24 kB / 349.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.1136, allocations: 0.6207 MB / 349.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.1183, allocations: 3.913 MB / 353.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.1189, allocations: 343.7 kB / 354.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1192, allocations: 148.8 kB / 354.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1192, allocations: 11.92 kB / 354.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1192, allocations: 38.56 kB / 354.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.917e-06/0.1192, allocations: 3.984 kB / 354.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002291/0.1215, allocations: 1.193 MB / 355.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1216, allocations: 89.05 kB / 355.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1228, allocations: 0.8213 MB / 356.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1228, allocations: 33.7 kB / 356.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.1233, allocations: 0.5679 MB / 357.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.1234, allocations: 126.2 kB / 357.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1236, allocations: 126.5 kB / 357.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1237, allocations: 338 kB / 357.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.124, allocations: 141.9 kB / 357.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.1245, allocations: 464 kB / 358.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.1253, allocations: 0.6353 MB / 358.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1253, allocations: 0 / 358.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00113/0.1265, allocations: 0.6887 MB / 359.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1265, allocations: 11.94 kB / 359.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.1265, allocations: 16.06 kB / 359.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.1267, allocations: 32.8 kB / 359.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.1272, allocations: 159.7 kB / 359.8 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009815/0.1282, allocations: 1.39 MB / 361.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.1287, allocations: 36.08 kB / 361.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.1287, allocations: 36 kB / 361.2 MB, free: 2.113 MB / 302.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.0003319/0.1291, allocations: 253.5 kB / 361.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1292, allocations: 90.89 kB / 361.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.1299, allocations: 374.4 kB / 361.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1299, allocations: 8 kB / 361.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1299, allocations: 0 / 361.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.13, allocations: 0 / 361.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.1317, allocations: 1.265 MB / 363.2 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1317, allocations: 4 kB / 363.2 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.1321, allocations: 75.89 kB / 363.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.788e-05/0.1322, allocations: 33 kB / 363.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1322, allocations: 8 kB / 363.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009737/0.1332, allocations: 1.367 MB / 364.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1332, allocations: 4.031 kB / 364.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.1342, allocations: 0.6273 MB / 365.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.1344, allocations: 188.2 kB / 365.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.1345, allocations: 8 kB / 365.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.1349, allocations: 27.92 kB / 365.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.135, allocations: 23.97 kB / 365.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.135, allocations: 19.92 kB / 365.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007032/0.1357, allocations: 0.5615 MB / 366.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1357, allocations: 0 / 366.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007225/0.1364, allocations: 195.9 kB / 366.3 MB, free: 12.71 MB / 318.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.0001943/0.1366, allocations: 123 kB / 366.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009808/0.1376, allocations: 0.5354 MB / 367 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1376, allocations: 4 kB / 367 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.138, allocations: 266.5 kB / 367.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.1391, allocations: 224.1 kB / 367.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.1417, allocations: 1.735 MB / 369.2 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.1422, allocations: 0.9962 MB / 370.2 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1423, allocations: 59.44 kB / 370.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1423, allocations: 0 / 370.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of Templates: time 0.1481/0.2904, allocations: 15.7 MB / 386 MB, free: 48.47 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) 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) Reference file matches