Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001282/0.001282, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001408/0.001408, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.94 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 0.4974 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 66.04 MB / 0.5619 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002998/0.3252, allocations: 1.745 MB / 0.5636 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.3254, allocations: 87.7 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3255, allocations: 0 / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.351e-05/0.3255, allocations: 11.88 kB / 0.5637 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.3256, allocations: 27.72 kB / 0.5637 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.67e-05/0.3257, allocations: 23.97 kB / 0.5637 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3258, allocations: 111.6 kB / 0.5638 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.326, allocations: 39.91 kB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.326, allocations: 43.92 kB / 0.5639 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3261, allocations: 55.75 kB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.3262, allocations: 12 kB / 0.564 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3262, allocations: 8 kB / 0.564 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.3262, allocations: 23.92 kB / 0.564 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3263, allocations: 55.73 kB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3264, allocations: 117.9 kB / 0.5642 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3264, allocations: 3.938 kB / 0.5642 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3264, allocations: 0 / 0.5642 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3264, allocations: 4 kB / 0.5642 GB, free: 2.074 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006239/0.3271, allocations: 345.9 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3271, allocations: 11.97 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3271, allocations: 12.89 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3273, allocations: 122.4 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3273, allocations: 8.312 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3273, allocations: 12.38 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.3276, allocations: 126.2 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3276, allocations: 192 / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3277, allocations: 3.938 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3277, allocations: 4 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.328, allocations: 107.8 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.3288, allocations: 442.5 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.329, allocations: 78.47 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3292, allocations: 64.94 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3292, allocations: 0 / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3293, allocations: 34.55 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3293, allocations: 0 / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000781/0.3301, allocations: 190.2 kB / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3301, allocations: 59.39 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3302, allocations: 121.8 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3302, allocations: 25.7 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.3303, allocations: 108.2 kB / 0.566 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3303, allocations: 23.8 kB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3304, allocations: 21.7 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3305, allocations: 314.8 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3307, allocations: 35.95 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3308, allocations: 62.53 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3311, allocations: 94.45 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3311, allocations: 3.938 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003918/0.3315, allocations: 150.3 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3315, allocations: 4 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3315, allocations: 0 / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.3317, allocations: 24.84 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3318, allocations: 23.98 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.333, allocations: 1.307 MB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.3331, allocations: 19.98 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3331, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3332, allocations: 117.8 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.3332, allocations: 11.89 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3332, allocations: 16.36 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3332, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3332, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3332, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3339, allocations: 399.1 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3339, allocations: 0 / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.334, allocations: 15.98 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/0.334, allocations: 24.88 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.334, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.335, allocations: 1.307 MB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.335, allocations: 0 / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.3355, allocations: 241.1 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3355, allocations: 16.02 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3355, allocations: 0 / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3356, allocations: 15.97 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3357, allocations: 11.98 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3357, allocations: 0 / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.3357, allocations: 95.27 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3357, allocations: 0 / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.336, allocations: 31.83 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001083/0.3361, allocations: 103.2 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.3366, allocations: 194.6 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3366, allocations: 0 / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.3369, allocations: 166.8 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3372, allocations: 8 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.3377, allocations: 239 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3381, allocations: 0.6963 MB / 0.5716 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.3381, allocations: 15.38 kB / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3381, allocations: 3.938 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Templates: time 0.003539/0.3416, allocations: 1.615 MB / 0.5732 GB, free: 8.211 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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: 7.517276850994676]