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.001087/0.001087, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001519/0.001519, allocations: 169 kB / 23.8 MB, free: 0.7734 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.052/1.052, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1488/0.1488, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.673e-06/1.673e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.587e-05, allocations: 2.312 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002954/0.002979, allocations: 2.632 MB / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.004112, allocations: 0.7719 MB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.004279, allocations: 11.94 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.004491, allocations: 67.42 kB / 351.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.004699, allocations: 103 kB / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.00493, allocations: 111.8 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.005214, allocations: 433.2 kB / 351.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.005377, allocations: 99.77 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.005625, allocations: 235.5 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.005751, allocations: 119.7 kB / 352.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.005795, allocations: 32 kB / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.005836, allocations: 36 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.00588, allocations: 83.66 kB / 352.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.005969, allocations: 115.7 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.006212, allocations: 275 kB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.006214, allocations: 0 / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006215, allocations: 0 / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00622, allocations: 0 / 352.7 MB, free: 4.352 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.0006863/0.006906, allocations: 0.6871 MB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.006944, allocations: 12.03 kB / 353.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.007017, allocations: 68.7 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.007209, allocations: 220.9 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.007227, allocations: 25.38 kB / 353.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.007251, allocations: 36.31 kB / 353.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.007598, allocations: 315 kB / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007608, allocations: 0 / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.007629, allocations: 16 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.007638, allocations: 8 kB / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.007804, allocations: 134.9 kB / 354.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.008752, allocations: 1.321 MB / 355.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.008955, allocations: 172.6 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.009001, allocations: 54.81 kB / 355.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.009024, allocations: 11.92 kB / 355.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.009038, allocations: 37.39 kB / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.00904, allocations: 4 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002448/0.009284, allocations: 137.4 kB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.009311, allocations: 136.5 kB / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.009467, allocations: 334.1 kB / 356.4 MB, free: 364 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.009476, allocations: 25.7 kB / 356.5 MB, free: 332 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.009551, allocations: 290.8 kB / 356.7 MB, free: 32 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.009595, allocations: 63.66 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.009656, allocations: 63.58 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.009778, allocations: 0.5079 MB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.009833, allocations: 32.61 kB / 357.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.009941, allocations: 157 kB / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01013, allocations: 204.4 kB / 357.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01013, allocations: 4 kB / 357.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002442/0.01038, allocations: 228.9 kB / 358 MB, free: 14.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01039, allocations: 11.98 kB / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.0104, allocations: 4 kB / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01042, allocations: 4 kB / 358 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.0106, allocations: 75.89 kB / 358.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.0106, allocations: 8 kB / 358.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01071, allocations: 40.02 kB / 358.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.01072, allocations: 8 kB / 358.1 MB, free: 14.5 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.0001006/0.01082, allocations: 168.5 kB / 358.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.01088, allocations: 39.75 kB / 358.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.01093, allocations: 29.48 kB / 358.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01093, allocations: 4 kB / 358.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.01094, allocations: 0 / 358.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01094, allocations: 0 / 358.4 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.01146, allocations: 0.5965 MB / 359 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01147, allocations: 0 / 359 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.01156, allocations: 47.91 kB / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01156, allocations: 4 kB / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01157, allocations: 0 / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01158, allocations: 7.984 kB / 359 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01158, allocations: 0 / 359 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.0118, allocations: 441.2 kB / 359.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.01182, allocations: 23.81 kB / 359.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01184, allocations: 12.06 kB / 359.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.01193, allocations: 7.984 kB / 359.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.01198, allocations: 27.84 kB / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.01199, allocations: 4 kB / 359.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.0121, allocations: 215 kB / 359.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0121, allocations: 0 / 359.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01234, allocations: 79.78 kB / 359.8 MB, free: 12.71 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 7.173e-05/0.01241, allocations: 99.17 kB / 359.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.01259, allocations: 119.5 kB / 360 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01259, allocations: 4 kB / 360 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.343e-05/0.01265, allocations: 47.53 kB / 360.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01292, allocations: 20.98 kB / 360.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.01354, allocations: 0.5495 MB / 360.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.0136, allocations: 95.89 kB / 360.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01366, allocations: 21.91 kB / 360.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.0137, allocations: 16.5 kB / 360.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0137, allocations: 4 kB / 360.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of Templates: time 0.00346/0.01716, allocations: 1.584 MB / 362.4 MB, free: 10.06 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.24461996788159]