Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006823/0.006823, allocations: 107.3 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001684/0.001684, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2336/0.2336, allocations: 46.93 MB / 362.3 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 80.09 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2984, allocations: 66.07 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004164/0.3026, allocations: 2.723 MB / 0.5654 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.304, allocations: 0.7904 MB / 0.5661 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3041, allocations: 8 kB / 0.5662 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.3044, allocations: 75.3 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3046, allocations: 107.2 kB / 0.5663 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3049, allocations: 119.8 kB / 0.5664 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.3053, allocations: 430.2 kB / 0.5669 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3056, allocations: 95.86 kB / 0.5669 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3058, allocations: 155.5 kB / 0.5671 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.306, allocations: 167.2 kB / 0.5673 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.306, allocations: 32 kB / 0.5673 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.3061, allocations: 32 kB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.3061, allocations: 75.7 kB / 0.5674 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3063, allocations: 191 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.3068, allocations: 428.7 kB / 0.568 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3068, allocations: 4 kB / 0.568 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3068, allocations: 0 / 0.568 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3068, allocations: 0 / 0.568 GB, free: 14.86 MB / 414.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.001063/0.3079, allocations: 0.6066 MB / 0.5686 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3079, allocations: 8.031 kB / 0.5686 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.308, allocations: 40.7 kB / 0.5686 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.3083, allocations: 224.9 kB / 0.5688 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3084, allocations: 33.31 kB / 0.5689 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.3084, allocations: 44.3 kB / 0.5689 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.3091, allocations: 362.2 kB / 0.5693 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3091, allocations: 0 / 0.5693 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.3092, allocations: 16 kB / 0.5693 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3092, allocations: 8 kB / 0.5693 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.3098, allocations: 263.8 kB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.312, allocations: 1.296 MB / 0.5708 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3125, allocations: 182.6 kB / 0.571 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3127, allocations: 87.45 kB / 0.5711 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3127, allocations: 0 / 0.5711 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3127, allocations: 38.56 kB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 3.306e-06/0.3127, allocations: 3.984 kB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007908/0.3135, allocations: 257.2 kB / 0.5713 GB, free: 11.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.3136, allocations: 132.5 kB / 0.5715 GB, free: 11.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.314, allocations: 341.7 kB / 0.5718 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.314, allocations: 29.7 kB / 0.5718 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3142, allocations: 252.3 kB / 0.5721 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.3142, allocations: 51.58 kB / 0.5721 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3143, allocations: 53.94 kB / 0.5722 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3145, allocations: 346.8 kB / 0.5725 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3147, allocations: 80.44 kB / 0.5726 GB, free: 9.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.315, allocations: 172.2 kB / 0.5727 GB, free: 9.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.3155, allocations: 246.9 kB / 0.573 GB, free: 9.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3155, allocations: 0 / 0.573 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006576/0.3162, allocations: 313.7 kB / 0.5733 GB, free: 9.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3162, allocations: 8 kB / 0.5733 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3162, allocations: 4 kB / 0.5733 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3162, allocations: 4 kB / 0.5733 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.3166, allocations: 91.92 kB / 0.5734 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3167, allocations: 11.94 kB / 0.5734 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.3169, allocations: 51.64 kB / 0.5734 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.317, allocations: 20 kB / 0.5734 GB, free: 8.871 MB / 414.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.0001781/0.3171, allocations: 153.7 kB / 0.5736 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3172, allocations: 27.81 kB / 0.5736 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.3173, allocations: 34.5 kB / 0.5737 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3173, allocations: 0 / 0.5737 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3173, allocations: 0 / 0.5737 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3173, allocations: 7.984 kB / 0.5737 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.3182, allocations: 0.5672 MB / 0.5742 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3182, allocations: 0 / 0.5742 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.3184, allocations: 59.88 kB / 0.5743 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3185, allocations: 0 / 0.5743 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3185, allocations: 12.09 kB / 0.5743 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3185, allocations: 4 kB / 0.5743 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3185, allocations: 4 kB / 0.5743 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.319, allocations: 402.1 kB / 0.5747 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3191, allocations: 27.8 kB / 0.5747 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3191, allocations: 11.94 kB / 0.5747 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3194, allocations: 19.97 kB / 0.5747 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.3195, allocations: 11.98 kB / 0.5747 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3195, allocations: 12 kB / 0.5748 GB, free: 7.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.3197, allocations: 235.2 kB / 0.575 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3197, allocations: 0 / 0.575 GB, free: 7.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.3201, allocations: 67.89 kB / 0.575 GB, free: 7.129 MB / 414.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.0001134/0.3202, allocations: 103.1 kB / 0.5751 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.3208, allocations: 191.9 kB / 0.5753 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3208, allocations: 0 / 0.5753 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.321, allocations: 84.62 kB / 0.5754 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3215, allocations: 29.56 kB / 0.5754 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3225, allocations: 0.5945 MB / 0.576 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.3229, allocations: 0.7753 MB / 0.5768 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.323, allocations: 23.42 kB / 0.5768 GB, free: 5.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.323, allocations: 4 kB / 0.5768 GB, free: 5.242 MB / 414.1 MB Notification: Performance of Templates: time 0.005573/0.3286, allocations: 3.216 MB / 0.5799 GB, free: 2.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.241706790868193]