Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.002052/0.002052, allocations: 74.19 kB / 19.93 MB, free: 1.77 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.002645/0.002645, allocations: 170.1 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 32.38 MB / 269.6 MB, free: 4.648 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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.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_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.949e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004061/0.00409, allocations: 2.447 MB / 409.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.005634, allocations: 0.76 MB / 410.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.005805, allocations: 4 kB / 410.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.006072, allocations: 71.31 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.006372, allocations: 107.1 kB / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.006753, allocations: 111.8 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.007317, allocations: 438 kB / 411.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.007586, allocations: 91.84 kB / 411.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.008018, allocations: 235.5 kB / 411.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.008227, allocations: 123.6 kB / 411.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.008293, allocations: 32 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.008354, allocations: 32 kB / 411.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.008451, allocations: 75.73 kB / 411.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.00861, allocations: 127.7 kB / 412 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.009183, allocations: 434.4 kB / 412.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.00919, allocations: 0 / 412.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.009192, allocations: 0 / 412.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.0092, allocations: 0 / 412.4 MB, free: 13.95 MB / 350.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.001251/0.01045, allocations: 0.595 MB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.0105, allocations: 8.031 kB / 413 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.0106, allocations: 48.64 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.01106, allocations: 222 kB / 413.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.0111, allocations: 25.38 kB / 413.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.01114, allocations: 28.38 kB / 413.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.01188, allocations: 366.9 kB / 413.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.0119, allocations: 4 kB / 413.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.01193, allocations: 12 kB / 413.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.01194, allocations: 11.98 kB / 413.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.01257, allocations: 259.8 kB / 413.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01457, allocations: 1.165 MB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.01514, allocations: 186.6 kB / 415.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.01536, allocations: 71.52 kB / 415.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.01541, allocations: 7.938 kB / 415.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.01544, allocations: 46.5 kB / 415.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.01544, allocations: 0 / 415.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008218/0.01626, allocations: 245.3 kB / 415.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.01635, allocations: 136.5 kB / 415.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.01666, allocations: 284 kB / 416.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01669, allocations: 29.83 kB / 416.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.01687, allocations: 259.9 kB / 416.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.01692, allocations: 51.53 kB / 416.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.01701, allocations: 53.94 kB / 416.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.01717, allocations: 338.8 kB / 416.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.01741, allocations: 76.5 kB / 416.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.01771, allocations: 164.2 kB / 417 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.01825, allocations: 259 kB / 417.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01825, allocations: 0 / 417.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006708/0.01892, allocations: 305 kB / 417.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01894, allocations: 4 kB / 417.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.01895, allocations: 4 kB / 417.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.01897, allocations: 8.25 kB / 417.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.01941, allocations: 91.86 kB / 417.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.01943, allocations: 4 kB / 417.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.01969, allocations: 43.75 kB / 417.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.01972, allocations: 16 kB / 417.7 MB, free: 8.23 MB / 350.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.0001764/0.0199, allocations: 144 kB / 417.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.02001, allocations: 35.69 kB / 417.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.02008, allocations: 33.48 kB / 417.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.02008, allocations: 4 kB / 417.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.02009, allocations: 0 / 417.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.0201, allocations: 7.938 kB / 418 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.02092, allocations: 0.4936 MB / 418.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02092, allocations: 0.5625 kB / 418.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.02121, allocations: 64.09 kB / 418.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02121, allocations: 0 / 418.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.02123, allocations: 4 kB / 418.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.02124, allocations: 8 kB / 418.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.02124, allocations: 7.922 kB / 418.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.0219, allocations: 386 kB / 418.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.02195, allocations: 31.78 kB / 418.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.02198, allocations: 8 kB / 418.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.0222, allocations: 19.92 kB / 419 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.02228, allocations: 19.84 kB / 419 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.02229, allocations: 12 kB / 419 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.0225, allocations: 191.1 kB / 419.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0225, allocations: 0 / 419.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.02294, allocations: 79.78 kB / 419.3 MB, free: 6.609 MB / 350.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.000164/0.0231, allocations: 91.25 kB / 419.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.02369, allocations: 191.7 kB / 419.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02369, allocations: 0 / 419.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.02392, allocations: 80.58 kB / 419.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.02436, allocations: 21.03 kB / 419.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02549, allocations: 0.5395 MB / 420.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.0257, allocations: 168.4 kB / 420.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.354e-05/0.02579, allocations: 21.91 kB / 420.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.02586, allocations: 24.48 kB / 420.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.02586, allocations: 0 / 420.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of Templates: time 0.005762/0.03162, allocations: 1.501 MB / 421.9 MB, free: 3.922 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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: 5.475857201963663]