Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.002047/0.002047, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002469/0.002469, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.622/1.622, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.92 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.89 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004141/0.33, allocations: 2.507 MB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3315, allocations: 0.7476 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.3317, allocations: 7.938 kB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3319, allocations: 79.36 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3322, allocations: 107.2 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3326, allocations: 107.9 kB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.333, allocations: 426.2 kB / 0.5621 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.3332, allocations: 99.83 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3334, allocations: 143.5 kB / 0.5623 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3336, allocations: 155.2 kB / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.3337, allocations: 32 kB / 0.5625 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.3337, allocations: 32 kB / 0.5625 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.3338, allocations: 75.7 kB / 0.5626 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.334, allocations: 155.2 kB / 0.5627 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.3345, allocations: 436.6 kB / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3345, allocations: 3.938 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3345, allocations: 0 / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.3345, allocations: 0 / 0.5631 GB, free: 2.395 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001194/0.3357, allocations: 0.613 MB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3358, allocations: 11.98 kB / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.3359, allocations: 44.7 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.3363, allocations: 224.9 kB / 0.564 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.3364, allocations: 25.38 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.3364, allocations: 32.38 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.3371, allocations: 362.2 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3371, allocations: 7.938 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3372, allocations: 12 kB / 0.5644 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3372, allocations: 8 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.3378, allocations: 262.8 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.3398, allocations: 1.164 MB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.3403, allocations: 190.5 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3405, allocations: 79.56 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3406, allocations: 7.984 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3406, allocations: 38.5 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3406, allocations: 4 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007543/0.3413, allocations: 241.5 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.3414, allocations: 136.4 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3417, allocations: 292.5 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3418, allocations: 37.77 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3419, allocations: 255.9 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.342, allocations: 59.5 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.3421, allocations: 53.94 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3422, allocations: 338.8 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3425, allocations: 80.5 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.3427, allocations: 164.2 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.3432, allocations: 255 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3432, allocations: 4 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00064/0.3439, allocations: 305.6 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3439, allocations: 10.66 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3439, allocations: 320 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3439, allocations: 12 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.3443, allocations: 95.8 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3444, allocations: 4 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3446, allocations: 43.77 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3446, allocations: 8 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.3448, allocations: 153.7 kB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.3449, allocations: 31.81 kB / 0.5686 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.3449, allocations: 29.52 kB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3449, allocations: 4 kB / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.345, allocations: 0 / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.345, allocations: 0 / 0.5686 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.3457, allocations: 0.5014 MB / 0.5691 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3457, allocations: 0 / 0.5691 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.346, allocations: 64.03 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.346, allocations: 0 / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.346, allocations: 8 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.346, allocations: 4 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.346, allocations: 3.938 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.3466, allocations: 390.8 kB / 0.5696 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3466, allocations: 27.8 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3467, allocations: 11.98 kB / 0.5696 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3469, allocations: 11.98 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.347, allocations: 23.86 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.347, allocations: 4 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.3472, allocations: 207 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.3476, allocations: 75.78 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.3477, allocations: 99.19 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.3483, allocations: 192 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3483, allocations: 0 / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.3485, allocations: 88.62 kB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.349, allocations: 17.03 kB / 0.5703 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3501, allocations: 0.5906 MB / 0.5709 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.3503, allocations: 172.5 kB / 0.571 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.3503, allocations: 19.44 kB / 0.571 GB, free: 9.754 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3503, allocations: 4 kB / 0.571 GB, free: 9.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006499/0.3568, allocations: 3.214 MB / 0.5742 GB, free: 6.531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.809676984790713]