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.001519/0.001519, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001693/0.001693, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2324/0.2324, allocations: 46.94 MB / 361.6 MB, free: 4.25 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.001936/0.001936, allocations: 67.91 kB / 0.4974 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 66.03 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004047/0.3109, allocations: 2.718 MB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3121, allocations: 0.802 MB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.3123, allocations: 4 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.3125, allocations: 71.38 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.3127, allocations: 107.2 kB / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.313, allocations: 115.8 kB / 0.5656 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.3134, allocations: 422.3 kB / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3136, allocations: 103.8 kB / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3138, allocations: 151.6 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.314, allocations: 171.2 kB / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.3141, allocations: 36 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.3141, allocations: 32 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.3142, allocations: 79.69 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.3144, allocations: 191 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.3148, allocations: 428.7 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3148, allocations: 0 / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3148, allocations: 3.938 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3148, allocations: 0 / 0.5671 GB, free: 14.98 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.001053/0.3159, allocations: 0.6066 MB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3159, allocations: 8.031 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.316, allocations: 40.7 kB / 0.5678 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3164, allocations: 228.8 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.3164, allocations: 29.38 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.3164, allocations: 28.38 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.3171, allocations: 374.2 kB / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3171, allocations: 0 / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.3171, allocations: 12 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3171, allocations: 8 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.3178, allocations: 269.5 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.3198, allocations: 1.292 MB / 0.5699 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.3203, allocations: 190.5 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3205, allocations: 83.55 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3205, allocations: 4 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3205, allocations: 34.5 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.3205, allocations: 4 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.000751/0.3213, allocations: 253.2 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.3214, allocations: 132.5 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.3217, allocations: 337.8 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3218, allocations: 29.7 kB / 0.571 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3219, allocations: 252.1 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.322, allocations: 51.59 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.3221, allocations: 57.94 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3223, allocations: 342.7 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3225, allocations: 80.5 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3228, allocations: 160.2 kB / 0.5719 GB, free: 9.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.3232, allocations: 254.9 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3232, allocations: 4 kB / 0.5721 GB, free: 9.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006243/0.3239, allocations: 313.2 kB / 0.5724 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3239, allocations: 4 kB / 0.5724 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3239, allocations: 4.641 kB / 0.5724 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3239, allocations: 4 kB / 0.5724 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.3243, allocations: 87.86 kB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3243, allocations: 15.92 kB / 0.5725 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.3246, allocations: 59.84 kB / 0.5726 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.3246, allocations: 8 kB / 0.5726 GB, free: 9.012 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.0001533/0.3248, allocations: 153.7 kB / 0.5727 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.3249, allocations: 31.81 kB / 0.5728 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.3249, allocations: 34.5 kB / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3249, allocations: 3.938 kB / 0.5728 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3249, allocations: 8.219 kB / 0.5728 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3249, allocations: 0 / 0.5728 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.3257, allocations: 0.5632 MB / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3257, allocations: 0 / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.326, allocations: 64.08 kB / 0.5734 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.326, allocations: 4 kB / 0.5734 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.326, allocations: 7.938 kB / 0.5734 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.326, allocations: 7.984 kB / 0.5734 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.326, allocations: 3.938 kB / 0.5734 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.3266, allocations: 394.8 kB / 0.5738 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3266, allocations: 31.8 kB / 0.5738 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.3267, allocations: 11.94 kB / 0.5739 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3269, allocations: 15.98 kB / 0.5739 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.327, allocations: 23.91 kB / 0.5739 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.327, allocations: 4 kB / 0.5739 GB, free: 7.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.3272, allocations: 235.2 kB / 0.5741 GB, free: 7.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3272, allocations: 4 kB / 0.5741 GB, free: 7.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.3276, allocations: 63.89 kB / 0.5742 GB, free: 7.262 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.000109/0.3277, allocations: 107.2 kB / 0.5743 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.3282, allocations: 183.7 kB / 0.5745 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3282, allocations: 0 / 0.5745 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3284, allocations: 80.64 kB / 0.5745 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3288, allocations: 29.36 kB / 0.5746 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/0.3298, allocations: 0.6021 MB / 0.5752 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3302, allocations: 0.7714 MB / 0.5759 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.3303, allocations: 27.42 kB / 0.5759 GB, free: 5.383 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3303, allocations: 0 / 0.5759 GB, free: 5.383 MB / 414.1 MB Notification: Performance of Templates: time 0.005336/0.3356, allocations: 3.236 MB / 0.5791 GB, free: 2.145 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: 7.136896014912054]