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.00152/0.00152, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.001657/0.001657, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.628/1.628, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2273/0.2273, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] 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.824e-06/1.824e-06, allocations: 0 / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.887e-05, allocations: 2.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.00319/0.003219, allocations: 2.451 MB / 349.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004599, allocations: 0.7563 MB / 350.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.004895, allocations: 4 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.005175, allocations: 63.38 kB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.005547, allocations: 103.1 kB / 350.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.005847, allocations: 123.8 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.006197, allocations: 422.3 kB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.006392, allocations: 95.83 kB / 350.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.006673, allocations: 231.5 kB / 351.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.006798, allocations: 119.6 kB / 351.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.006846, allocations: 36 kB / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.006888, allocations: 32 kB / 351.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.006931, allocations: 75.69 kB / 351.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.007027, allocations: 127.7 kB / 351.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.007354, allocations: 434.5 kB / 351.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.007358, allocations: 3.984 kB / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007359, allocations: 0 / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.007365, allocations: 0 / 351.9 MB, free: 4.766 MB / 282.7 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.0008402/0.008205, allocations: 0.5872 MB / 352.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.008242, allocations: 12.03 kB / 352.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.008341, allocations: 76.64 kB / 352.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.008638, allocations: 222 kB / 352.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.00866, allocations: 25.38 kB / 352.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.008696, allocations: 32.38 kB / 352.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.009262, allocations: 374.9 kB / 353.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.009276, allocations: 0 / 353.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.009307, allocations: 20 kB / 353.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.009314, allocations: 8 kB / 353.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.00984, allocations: 259.8 kB / 353.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01135, allocations: 1.169 MB / 354.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.01176, allocations: 190.6 kB / 354.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.01193, allocations: 75.5 kB / 355 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.01196, allocations: 7.938 kB / 355 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.01197, allocations: 42.5 kB / 355 MB, free: 1.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.01198, allocations: 4 kB / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007009/0.01268, allocations: 245.3 kB / 355.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.01271, allocations: 136.5 kB / 355.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01291, allocations: 284.1 kB / 355.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.01292, allocations: 25.7 kB / 355.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.013, allocations: 248.1 kB / 355.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.01304, allocations: 59.52 kB / 356 MB, free: 452 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.01311, allocations: 57.94 kB / 356.1 MB, free: 388 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.01317, allocations: 334.8 kB / 356.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.01341, allocations: 76.5 kB / 356.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.01373, allocations: 168.2 kB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.01436, allocations: 246.9 kB / 356.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.01436, allocations: 0 / 356.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007524/0.01511, allocations: 325.5 kB / 357.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.01513, allocations: 8 kB / 357.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.01514, allocations: 8 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.01517, allocations: 8.25 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.01561, allocations: 95.86 kB / 357.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.01562, allocations: 7.938 kB / 357.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.0159, allocations: 43.75 kB / 357.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.01593, allocations: 12 kB / 357.4 MB, free: 14.98 MB / 298.7 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.000196/0.01612, allocations: 141.8 kB / 357.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.01624, allocations: 39.75 kB / 357.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.01632, allocations: 29.48 kB / 357.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.01633, allocations: 8 kB / 357.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.01633, allocations: 0 / 357.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01634, allocations: 0 / 357.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.01721, allocations: 0.4936 MB / 358.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.01722, allocations: 4 kB / 358.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.01752, allocations: 60.03 kB / 358.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01753, allocations: 8 kB / 358.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01754, allocations: 0 / 358.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01754, allocations: 4 kB / 358.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.01755, allocations: 4 kB / 358.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.01824, allocations: 395.8 kB / 358.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.01829, allocations: 28.03 kB / 358.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.01833, allocations: 12 kB / 358.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.01856, allocations: 15.97 kB / 358.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.01863, allocations: 19.92 kB / 358.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.01864, allocations: 7.984 kB / 358.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.01887, allocations: 195.1 kB / 358.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01887, allocations: 0 / 358.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.01932, allocations: 75.78 kB / 358.9 MB, free: 13.37 MB / 298.7 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.0001427/0.01946, allocations: 99.19 kB / 359 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.02006, allocations: 191.7 kB / 359.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02006, allocations: 0 / 359.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.02029, allocations: 76.64 kB / 359.2 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.02075, allocations: 32.16 kB / 359.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.02189, allocations: 0.5383 MB / 359.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.0221, allocations: 168.4 kB / 360 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.02221, allocations: 17.64 kB / 360 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.02229, allocations: 20.5 kB / 360 MB, free: 12.16 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02229, allocations: 0 / 360 MB, free: 12.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005385/0.02767, allocations: 1.529 MB / 361.5 MB, free: 10.64 MB / 298.7 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.007396466098726]