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.001901/0.001901, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001953/0.001953, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3808/0.3808, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.861e-05, allocations: 2.312 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004577/0.004606, allocations: 2.661 MB / 377.9 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.006074, allocations: 0.7787 MB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.006218, allocations: 8 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.006459, allocations: 67.38 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.006734, allocations: 119 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.00701, allocations: 107.8 kB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.007514, allocations: 430.3 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.00776, allocations: 95.84 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.008092, allocations: 231.5 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.0083, allocations: 127.6 kB / 379.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.008368, allocations: 32 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.008439, allocations: 39.94 kB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.008523, allocations: 71.73 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.008692, allocations: 123.7 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.009271, allocations: 434.6 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.009276, allocations: 0 / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.009277, allocations: 0 / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.009285, allocations: 4 kB / 380.5 MB, free: 15.67 MB / 362.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.001267/0.01055, allocations: 0.7179 MB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.01061, allocations: 15.98 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.01075, allocations: 72.66 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.01112, allocations: 223.4 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.01116, allocations: 25.38 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.01121, allocations: 28.38 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.01192, allocations: 382.2 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01194, allocations: 0 / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.01198, allocations: 19.98 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.012, allocations: 8 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.01256, allocations: 235.8 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.01486, allocations: 1.423 MB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.0155, allocations: 220.5 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.01568, allocations: 82.72 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.01572, allocations: 7.938 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.01577, allocations: 45.33 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.01577, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000676/0.01645, allocations: 217.6 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01655, allocations: 136.5 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.01705, allocations: 394.2 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.01708, allocations: 25.7 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.01735, allocations: 310.7 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.01741, allocations: 59.59 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.01753, allocations: 63.59 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.01782, allocations: 0.5196 MB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.01802, allocations: 68.52 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.01831, allocations: 197 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.0188, allocations: 275.7 kB / 386.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01881, allocations: 7.984 kB / 386.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006057/0.01941, allocations: 293.1 kB / 386.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01943, allocations: 8 kB / 386.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.01944, allocations: 4 kB / 386.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01946, allocations: 4 kB / 386.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.01981, allocations: 80.14 kB / 386.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.01983, allocations: 7.938 kB / 386.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.02006, allocations: 43.72 kB / 386.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02008, allocations: 8.562 kB / 386.7 MB, free: 9.07 MB / 362.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.0001959/0.02028, allocations: 196.5 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.02039, allocations: 35.8 kB / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.02047, allocations: 29.58 kB / 386.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02047, allocations: 0 / 386.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.02048, allocations: 4 kB / 386.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02048, allocations: 4 kB / 386.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.02144, allocations: 0.6589 MB / 387.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.02145, allocations: 7.984 kB / 387.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.02166, allocations: 39.97 kB / 387.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.02167, allocations: 3.938 kB / 387.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.02168, allocations: 7.938 kB / 387.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.02169, allocations: 4 kB / 387.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02169, allocations: 160 / 387.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.02228, allocations: 497.2 kB / 388.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.02234, allocations: 23.81 kB / 388.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.02237, allocations: 8 kB / 388.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02256, allocations: 7.984 kB / 388.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.02263, allocations: 23.91 kB / 388.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.02264, allocations: 4 kB / 388.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000257/0.0229, allocations: 255 kB / 388.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0229, allocations: 0 / 388.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.0233, allocations: 83.78 kB / 388.6 MB, free: 7.09 MB / 362.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.0001265/0.02343, allocations: 95.19 kB / 388.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.02391, allocations: 191.3 kB / 388.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02391, allocations: 0 / 388.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.02408, allocations: 76.41 kB / 388.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.02448, allocations: 24.59 kB / 388.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.02555, allocations: 0.5729 MB / 389.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.02575, allocations: 168.5 kB / 389.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.668e-05/0.02585, allocations: 25.91 kB / 389.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.02592, allocations: 24.48 kB / 389.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02592, allocations: 0 / 389.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of Templates: time 0.005667/0.03158, allocations: 1.529 MB / 391.2 MB, free: 4.316 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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: 4.976963869063184]