Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.92 kB / 379 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2138, allocations: 53.36 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.01907/0.2328, allocations: 16.22 MB / 448.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009806/0.2426, allocations: 5.371 MB / 453.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.2445, allocations: 79.62 kB / 454 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.2475, allocations: 1.227 MB / 455.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2506, allocations: 1.311 MB / 456.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2518, allocations: 0.6711 MB / 457.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.2561, allocations: 3.934 MB / 461.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.2577, allocations: 1.081 MB / 462.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.2598, allocations: 1.525 MB / 463.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.2617, allocations: 1.571 MB / 465.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004514/0.2621, allocations: 372 kB / 465.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.2628, allocations: 423.9 kB / 466.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005763/0.2634, allocations: 0.7317 MB / 466.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.2648, allocations: 1.427 MB / 468.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.2696, allocations: 4.654 MB / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2696, allocations: 0 / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2696, allocations: 0 / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.158e-05/0.2697, allocations: 0 / 472.9 MB, free: 13.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.005611/0.2753, allocations: 3.351 MB / 476.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2753, allocations: 8.031 kB / 476.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.2769, allocations: 493.6 kB / 476.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.2799, allocations: 1.648 MB / 478.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.2801, allocations: 193.2 kB / 478.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.2804, allocations: 271.8 kB / 478.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.2847, allocations: 2.692 MB / 481.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.582e-05/0.2848, allocations: 15.94 kB / 481.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.285, allocations: 112 kB / 481.7 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.2851, allocations: 64 kB / 481.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.2881, allocations: 1.635 MB / 483.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.3003, allocations: 9.209 MB / 492.6 MB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.3016, allocations: 0.6267 MB / 493.2 MB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.3022, allocations: 327.1 kB / 493.5 MB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3022, allocations: 12.66 kB / 493.6 MB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.3022, allocations: 47.16 kB / 493.6 MB, free: 8.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.3022, allocations: 0 / 493.6 MB, free: 8.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=90): time 0.005137/0.3074, allocations: 2.55 MB / 496.2 MB, free: 5.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3075, allocations: 171.1 kB / 496.3 MB, free: 5.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.3103, allocations: 1.959 MB / 498.3 MB, free: 3.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.3103, allocations: 41.7 kB / 498.3 MB, free: 3.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.3116, allocations: 1.523 MB / 499.8 MB, free: 2.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.3119, allocations: 349.1 kB / 0.4885 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004291/0.3123, allocations: 331.3 kB / 0.4888 GB, free: 1.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3124, allocations: 305.1 kB / 0.4891 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.3131, allocations: 368.7 kB / 0.4894 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3146, allocations: 1.335 MB / 0.4907 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.3168, allocations: 1.73 MB / 0.4924 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.3168, allocations: 8 kB / 0.4924 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003144/0.3199, allocations: 1.809 MB / 0.4942 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3199, allocations: 20 kB / 0.4942 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.32, allocations: 36.03 kB / 0.4942 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.3205, allocations: 155.4 kB / 0.4944 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3217, allocations: 415.2 kB / 0.4948 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.326, allocations: 5.241 MB / 0.4999 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.3274, allocations: 100 kB / 0.5 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3275, allocations: 96 kB / 0.5001 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001339/0.3288, allocations: 0.7226 MB / 0.5008 GB, free: 3.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001395/0.3302, allocations: 1.331 MB / 0.5021 GB, free: 1.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002094/0.3323, allocations: 1.699 MB / 0.5038 GB, free: 15.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.276e-05/0.3323, allocations: 11.94 kB / 0.5038 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.002976/0.3353, allocations: 1.789 MB / 0.5055 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3353, allocations: 23.92 kB / 0.5055 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/0.3354, allocations: 32 kB / 0.5056 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.3358, allocations: 160.1 kB / 0.5057 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.337, allocations: 403.3 kB / 0.5061 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.3412, allocations: 5.242 MB / 0.5112 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3425, allocations: 92.11 kB / 0.5113 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.3426, allocations: 92 kB / 0.5114 GB, free: 7.605 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.343, allocations: 330.8 kB / 0.5117 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.3433, allocations: 210.7 kB / 0.5119 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.345, allocations: 0.8846 MB / 0.5128 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.345, allocations: 3.984 kB / 0.5128 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.345, allocations: 7.875 kB / 0.5128 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.3456, allocations: 274.5 kB / 0.5131 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.3458, allocations: 19.98 kB / 0.5131 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.3466, allocations: 43.97 kB / 0.5131 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3467, allocations: 60.88 kB / 0.5132 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001923/0.3486, allocations: 0.8796 MB / 0.514 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001913/0.3505, allocations: 1.291 MB / 0.5153 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004783/0.351, allocations: 263.8 kB / 0.5155 GB, free: 3.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.3528, allocations: 1.251 MB / 0.5168 GB, free: 2.023 MB / 430.1 MB Notification: Performance of Backend: time 4.41e-07/0.3528, allocations: 0 / 0.5168 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004219/0.357, allocations: 2.477 MB / 0.5192 GB, free: 15.45 MB / 446.1 MB Notification: Performance of SimCode: time 0.007724/0.3647, allocations: 4.993 MB / 0.5241 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Templates: time 0.2332/0.5979, allocations: 36.04 MB / 0.5593 GB, free: 113.7 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DC_CompareCharacteristics/DC_CompareCharacteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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: 5.547979333001422]