Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001399/0.001399, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001566/0.001566, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.654/1.654, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.231/0.231, allocations: 46.96 MB / 361.6 MB, free: 4.043 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+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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004333/0.3382, allocations: 2.5 MB / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3397, allocations: 0.7515 MB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3398, allocations: 7.938 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3401, allocations: 75.38 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.3403, allocations: 107.2 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3406, allocations: 119.7 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.3411, allocations: 430.2 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.3413, allocations: 99.86 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.3415, allocations: 151.4 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3417, allocations: 171.2 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.3418, allocations: 32 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.3419, allocations: 32 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.3419, allocations: 79.7 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3421, allocations: 155.2 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.3426, allocations: 436.6 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3426, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3426, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3426, allocations: 3.938 kB / 0.5668 GB, free: 15.03 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.001121/0.3437, allocations: 0.6027 MB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3438, allocations: 12.03 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.3438, allocations: 40.7 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3442, allocations: 224.9 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.3443, allocations: 21.38 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.3443, allocations: 36.31 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.3451, allocations: 362.2 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3451, allocations: 3.938 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3451, allocations: 20 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3452, allocations: 8 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.3458, allocations: 263.8 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3478, allocations: 1.16 MB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.3484, allocations: 194.5 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.3486, allocations: 75.52 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3486, allocations: 4 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3486, allocations: 38.5 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.3487, allocations: 4 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.00081/0.3495, allocations: 241.5 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.3495, allocations: 136.5 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.3499, allocations: 292.5 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3499, allocations: 33.7 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3501, allocations: 256 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.3502, allocations: 55.53 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3503, allocations: 57.94 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3504, allocations: 338.8 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.3507, allocations: 72.5 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.3509, allocations: 164.2 kB / 0.5714 GB, free: 10.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.3515, allocations: 255.6 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3515, allocations: 3.938 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000732/0.3522, allocations: 309.1 kB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3522, allocations: 4 kB / 0.5719 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.3522, allocations: 4 kB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3523, allocations: 4 kB / 0.5719 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.3527, allocations: 100 kB / 0.572 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.3527, allocations: 12.09 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.353, allocations: 39.75 kB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.353, allocations: 19.98 kB / 0.5721 GB, free: 9.273 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.0001526/0.3532, allocations: 149.7 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3533, allocations: 27.81 kB / 0.5722 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.3533, allocations: 29.52 kB / 0.5723 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3533, allocations: 4 kB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3533, allocations: 3.938 kB / 0.5723 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3534, allocations: 27.78 kB / 0.5723 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3534, allocations: 8 kB / 0.5723 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3537, allocations: 11.98 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.3538, allocations: 19.91 kB / 0.5723 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008225/0.3546, allocations: 0.5103 MB / 0.5728 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006564/0.3553, allocations: 0.5784 MB / 0.5734 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002106/0.3555, allocations: 67.94 kB / 0.5735 GB, free: 7.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.3557, allocations: 203.1 kB / 0.5737 GB, free: 7.602 MB / 414.1 MB Notification: Performance of Backend: time 4e-07/0.3557, allocations: 0 / 0.5737 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.3566, allocations: 194.1 kB / 0.5738 GB, free: 7.406 MB / 414.1 MB Notification: Performance of SimCode: time 0.001243/0.3578, allocations: 0.9594 MB / 0.5748 GB, free: 6.398 MB / 414.1 MB Notification: Performance of Templates: time 0.006887/0.3647, allocations: 2.78 MB / 0.5775 GB, free: 3.637 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 5.324518736000755]