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.001717/0.001717, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00207/0.00207, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2572/0.2572, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.002996/0.002996, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3864, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004552/0.391, allocations: 2.516 MB / 0.5635 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3925, allocations: 0.7476 MB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3926, allocations: 7.938 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.3929, allocations: 67.39 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.3932, allocations: 119.2 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3935, allocations: 111.7 kB / 0.5645 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.394, allocations: 418.3 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.3943, allocations: 95.84 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.3946, allocations: 155.5 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3948, allocations: 147.2 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.3949, allocations: 32 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.3949, allocations: 36 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.395, allocations: 87.59 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3952, allocations: 147.3 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.3958, allocations: 428.7 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3958, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3958, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.3958, allocations: 0 / 0.566 GB, free: 15.06 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.001282/0.3971, allocations: 0.6105 MB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/0.3971, allocations: 8.031 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.3972, allocations: 44.64 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.3978, allocations: 228.8 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3978, allocations: 25.38 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.3979, allocations: 32.38 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.3987, allocations: 370.2 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3987, allocations: 0 / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.3987, allocations: 12 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3987, allocations: 8 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3994, allocations: 263.8 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.4015, allocations: 1.172 MB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.4021, allocations: 186.6 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.4023, allocations: 79.52 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4023, allocations: 4 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4023, allocations: 38.5 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4023, allocations: 0 / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008145/0.4031, allocations: 249.4 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4033, allocations: 132.6 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.4036, allocations: 292.5 kB / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4036, allocations: 33.7 kB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.4039, allocations: 251.9 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.4039, allocations: 55.53 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.404, allocations: 57.94 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4042, allocations: 338.8 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4044, allocations: 76.5 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.4047, allocations: 176.1 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.4052, allocations: 250.9 kB / 0.5708 GB, free: 9.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4053, allocations: 0 / 0.5708 GB, free: 9.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006524/0.4059, allocations: 305.8 kB / 0.5711 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4059, allocations: 4.25 kB / 0.5711 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4059, allocations: 11.94 kB / 0.5711 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.406, allocations: 7.984 kB / 0.5711 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.4064, allocations: 87.88 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.4064, allocations: 11.98 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4066, allocations: 39.77 kB / 0.5713 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4067, allocations: 16 kB / 0.5713 GB, free: 9.293 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.0001772/0.4068, allocations: 157.7 kB / 0.5714 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.4069, allocations: 27.81 kB / 0.5715 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.407, allocations: 29.52 kB / 0.5715 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.407, allocations: 0 / 0.5715 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.407, allocations: 4 kB / 0.5715 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.407, allocations: 3.984 kB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.4078, allocations: 0.4975 MB / 0.572 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4078, allocations: 4 kB / 0.572 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.4081, allocations: 56.09 kB / 0.5721 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4081, allocations: 4 kB / 0.5721 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4081, allocations: 4 kB / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4081, allocations: 0 / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.4081, allocations: 11.88 kB / 0.5721 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.4087, allocations: 389.8 kB / 0.5724 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.4088, allocations: 31.78 kB / 0.5725 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4088, allocations: 4 kB / 0.5725 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.409, allocations: 19.92 kB / 0.5725 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.4091, allocations: 23.84 kB / 0.5725 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.4091, allocations: 8 kB / 0.5725 GB, free: 7.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.4093, allocations: 199.1 kB / 0.5727 GB, free: 7.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4093, allocations: 0 / 0.5727 GB, free: 7.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.4097, allocations: 75.78 kB / 0.5728 GB, free: 7.668 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.0001323/0.4099, allocations: 99.25 kB / 0.5729 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.4104, allocations: 191.9 kB / 0.5731 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4104, allocations: 0 / 0.5731 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.4107, allocations: 76.7 kB / 0.5731 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4111, allocations: 16.81 kB / 0.5732 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4122, allocations: 0.5771 MB / 0.5737 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.4124, allocations: 168.4 kB / 0.5739 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.879e-05/0.4125, allocations: 25.84 kB / 0.5739 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.4125, allocations: 19.44 kB / 0.5739 GB, free: 6.434 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4125, allocations: 0 / 0.5739 GB, free: 6.434 MB / 414.1 MB Notification: Performance of Templates: time 0.005653/0.4182, allocations: 1.863 MB / 0.5757 GB, free: 4.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/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.451491126790643]