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.0008367/0.0008367, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008184/0.0008184, allocations: 174.3 kB / 23.97 MB, free: 0.5977 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 0.8173/0.8173, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1253/0.1253, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.492e-06/1.492e-06, allocations: 0 / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.032e-05, allocations: 6.281 kB / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002473/0.002493, allocations: 2.447 MB / 410.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.003331, allocations: 0.7564 MB / 411.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.003449, allocations: 11.94 kB / 411.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.003618, allocations: 59.39 kB / 411.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003774, allocations: 107.1 kB / 411.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.003964, allocations: 115.8 kB / 411.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.004234, allocations: 422.1 kB / 412 MB, free: 13.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.004398, allocations: 99.83 kB / 412.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.004614, allocations: 235.5 kB / 412.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004726, allocations: 119.6 kB / 412.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.004767, allocations: 36 kB / 412.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.004796, allocations: 32 kB / 412.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.004839, allocations: 75.73 kB / 412.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.004914, allocations: 123.7 kB / 412.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.0052, allocations: 430.5 kB / 413.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005202, allocations: 0 / 413.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005203, allocations: 0 / 413.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.005208, allocations: 4 kB / 413.1 MB, free: 12.69 MB / 394.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.0006472/0.005855, allocations: 0.5911 MB / 413.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.005888, allocations: 8.031 kB / 413.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.005939, allocations: 44.66 kB / 413.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.006167, allocations: 222 kB / 414 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.006185, allocations: 25.38 kB / 414 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.006213, allocations: 40.25 kB / 414 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.006888, allocations: 363 kB / 414.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.0069, allocations: 0 / 414.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.006922, allocations: 19.98 kB / 414.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006931, allocations: 8 kB / 414.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.00729, allocations: 271.8 kB / 414.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.008362, allocations: 1.154 MB / 415.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.008646, allocations: 194.6 kB / 416 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.008757, allocations: 83.45 kB / 416.1 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.008779, allocations: 7.938 kB / 416.1 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.008799, allocations: 38.5 kB / 416.2 MB, free: 9.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.0088, allocations: 0 / 416.2 MB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004381/0.009238, allocations: 245.5 kB / 416.4 MB, free: 9.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.009284, allocations: 128.5 kB / 416.5 MB, free: 9.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.009469, allocations: 288.1 kB / 416.8 MB, free: 8.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.009482, allocations: 29.7 kB / 416.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.00958, allocations: 247.9 kB / 417.1 MB, free: 8.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.009607, allocations: 55.53 kB / 417.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.009662, allocations: 57.94 kB / 417.2 MB, free: 8.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.009739, allocations: 338.9 kB / 417.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.009858, allocations: 76.5 kB / 417.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.01001, allocations: 172.2 kB / 417.8 MB, free: 7.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.01028, allocations: 258.9 kB / 418 MB, free: 7.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01029, allocations: 0 / 418 MB, free: 7.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003448/0.01063, allocations: 297.1 kB / 418.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01064, allocations: 8 kB / 418.3 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01065, allocations: 4 kB / 418.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01066, allocations: 4 kB / 418.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01085, allocations: 92.11 kB / 418.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01086, allocations: 11.94 kB / 418.4 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.01097, allocations: 48.27 kB / 418.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01098, allocations: 12 kB / 418.5 MB, free: 6.965 MB / 394.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 9.333e-05/0.01108, allocations: 141.8 kB / 418.6 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.01113, allocations: 31.8 kB / 418.6 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.01117, allocations: 29.48 kB / 418.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01118, allocations: 4 kB / 418.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01118, allocations: 0 / 418.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01119, allocations: 4 kB / 418.7 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.01163, allocations: 0.4975 MB / 419.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01163, allocations: 4 kB / 419.2 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.01175, allocations: 55.88 kB / 419.2 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01176, allocations: 4 kB / 419.2 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01177, allocations: 11.94 kB / 419.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01177, allocations: 160 / 419.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01177, allocations: 8 kB / 419.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.01206, allocations: 394.7 kB / 419.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01208, allocations: 23.8 kB / 419.7 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.0121, allocations: 4 kB / 419.7 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01221, allocations: 19.97 kB / 419.7 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.01226, allocations: 19.92 kB / 419.7 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.01227, allocations: 4 kB / 419.7 MB, free: 5.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.01238, allocations: 199.1 kB / 419.9 MB, free: 5.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01238, allocations: 0 / 419.9 MB, free: 5.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01262, allocations: 75.78 kB / 420 MB, free: 5.355 MB / 394.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 7.278e-05/0.01269, allocations: 99.19 kB / 420.1 MB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.01297, allocations: 191.8 kB / 420.3 MB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01297, allocations: 0 / 420.3 MB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01308, allocations: 71.89 kB / 420.3 MB, free: 4.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01335, allocations: 24.92 kB / 420.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01393, allocations: 0.5651 MB / 420.9 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.01403, allocations: 168.5 kB / 421.1 MB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.01408, allocations: 24.5 kB / 421.1 MB, free: 4.137 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01408, allocations: 0 / 421.1 MB, free: 4.137 MB / 394.7 MB Notification: Performance of Templates: time 0.003332/0.01742, allocations: 3.135 MB / 424.3 MB, free: 0.9961 MB / 394.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: 4.466898397542536]