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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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=20000,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=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 62.3 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09837, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009429/0.1078, allocations: 7.156 MB / 386.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004387/0.1122, allocations: 2.49 MB / 388.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.1127, allocations: 27.88 kB / 388.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1141, allocations: 0.5247 MB / 389.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1152, allocations: 492.4 kB / 389.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1156, allocations: 259.7 kB / 389.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1171, allocations: 1.475 MB / 391.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.1177, allocations: 379.2 kB / 391.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.1185, allocations: 0.5759 MB / 392.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.1192, allocations: 0.5091 MB / 392.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1193, allocations: 136 kB / 392.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1197, allocations: 176 kB / 393.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.1199, allocations: 294.9 kB / 393.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.1204, allocations: 0.525 MB / 393.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.1223, allocations: 1.747 MB / 395.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1223, allocations: 0 / 395.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1223, allocations: 3.938 kB / 395.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.1223, allocations: 4 kB / 395.7 MB, free: 14.64 MB / 366.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.002357/0.1246, allocations: 1.4 MB / 397.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1247, allocations: 11.98 kB / 397.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006478/0.1253, allocations: 196 kB / 397.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1265, allocations: 0.6728 MB / 397.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1266, allocations: 78 kB / 398 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1267, allocations: 99.95 kB / 398.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1283, allocations: 1.035 MB / 399.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.1283, allocations: 0 / 399.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.1284, allocations: 40 kB / 399.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.1284, allocations: 24 kB / 399.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1296, allocations: 0.6286 MB / 399.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.1343, allocations: 3.362 MB / 403.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.135, allocations: 343.4 kB / 403.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.1356, allocations: 261.2 kB / 403.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1356, allocations: 8.328 kB / 403.8 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.1356, allocations: 38.88 kB / 403.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.1356, allocations: 0 / 403.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002572/0.1382, allocations: 1.237 MB / 405.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.1383, allocations: 89.09 kB / 405.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.1393, allocations: 0.7581 MB / 405.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1393, allocations: 33.7 kB / 406 MB, free: 3.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.1397, allocations: 0.5852 MB / 406.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1399, allocations: 166.6 kB / 406.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.1401, allocations: 134.6 kB / 406.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1403, allocations: 382.8 kB / 407.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.1406, allocations: 165.9 kB / 407.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.1412, allocations: 485.7 kB / 407.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.1421, allocations: 0.6622 MB / 408.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.1421, allocations: 0 / 408.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001337/0.1435, allocations: 0.7635 MB / 409.3 MB, free: 332 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1435, allocations: 8 kB / 409.3 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.1435, allocations: 12 kB / 409.3 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/0.1438, allocations: 85.61 kB / 409.4 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.1443, allocations: 147.8 kB / 409.5 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.1468, allocations: 2.877 MB / 412.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.1474, allocations: 44.16 kB / 412.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.1474, allocations: 32 kB / 412.5 MB, free: 12.91 MB / 382.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.0003903/0.1478, allocations: 253.6 kB / 412.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.1479, allocations: 87.42 kB / 412.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.1488, allocations: 486.6 kB / 413.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1489, allocations: 7.938 kB / 413.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1489, allocations: 4 kB / 413.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1489, allocations: 3.984 kB / 413.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.1509, allocations: 1.197 MB / 414.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1509, allocations: 0 / 414.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1512, allocations: 71.91 kB / 414.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.1514, allocations: 78.02 kB / 414.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1515, allocations: 12 kB / 414.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.1538, allocations: 2.859 MB / 417.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1538, allocations: 3.938 kB / 417.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1552, allocations: 0.779 MB / 418.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.1555, allocations: 111.5 kB / 418.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.1556, allocations: 12 kB / 418.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.156, allocations: 23.98 kB / 418.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.1561, allocations: 39.81 kB / 418.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1561, allocations: 15.94 kB / 418.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006986/0.1568, allocations: 0.5069 MB / 419 MB, free: 6.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1568, allocations: 0 / 419 MB, free: 6.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009118/0.1577, allocations: 204 kB / 419.2 MB, free: 5.848 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 (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.0003738/0.1581, allocations: 130 kB / 419.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.1595, allocations: 0.6626 MB / 420 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1595, allocations: 0.6875 kB / 420 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.1602, allocations: 436.8 kB / 420.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.1612, allocations: 210.3 kB / 420.6 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.1644, allocations: 1.71 MB / 422.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1649, allocations: 421.7 kB / 422.7 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000353/0.1652, allocations: 94.69 kB / 422.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1654, allocations: 52.5 kB / 422.9 MB, free: 2.023 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1654, allocations: 0 / 422.9 MB, free: 2.023 MB / 382.1 MB Notification: Performance of Templates: time 0.02061/0.186, allocations: 10.12 MB / 433 MB, free: 8.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.763806889066473]