Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001374/0.001374, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001695/0.001695, allocations: 165.7 kB / 24.5 MB, free: 3.453 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.504/1.504, allocations: 177.1 MB / 204.7 MB, free: 8.855 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 83.86 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3359, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003144/0.3391, allocations: 2.517 MB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3401, allocations: 0.7512 MB / 0.5004 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3402, allocations: 7.156 kB / 0.5005 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3405, allocations: 77.02 kB / 0.5005 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.3407, allocations: 108 kB / 0.5006 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3409, allocations: 107 kB / 0.5007 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3413, allocations: 428.5 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3415, allocations: 97.44 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3416, allocations: 148.8 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.3418, allocations: 146.3 kB / 0.5015 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.3418, allocations: 34.75 kB / 0.5015 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.3419, allocations: 32.06 kB / 0.5016 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.3419, allocations: 75.02 kB / 0.5016 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3421, allocations: 151.3 kB / 0.5018 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.3424, allocations: 436.9 kB / 0.5022 GB, free: 26.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3424, allocations: 4 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3424, allocations: 3.938 kB / 0.5022 GB, free: 26.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3424, allocations: 3.188 kB / 0.5022 GB, free: 26.7 MB / 446.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.0009397/0.3434, allocations: 0.6068 MB / 0.5028 GB, free: 26.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3434, allocations: 9.438 kB / 0.5028 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.3435, allocations: 43.3 kB / 0.5029 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3438, allocations: 223 kB / 0.5031 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3438, allocations: 29.38 kB / 0.5031 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.3439, allocations: 31.16 kB / 0.5031 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.3444, allocations: 359.6 kB / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3444, allocations: 0 / 0.5035 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3445, allocations: 15.06 kB / 0.5035 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3445, allocations: 17.45 kB / 0.5035 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.345, allocations: 260.9 kB / 0.5038 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3466, allocations: 1.164 MB / 0.5049 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.347, allocations: 191.2 kB / 0.5051 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3472, allocations: 77.28 kB / 0.5051 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3472, allocations: 3.031 kB / 0.5052 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.3472, allocations: 33.53 kB / 0.5052 GB, free: 24.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.3472, allocations: 3.938 kB / 0.5052 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007066/0.3479, allocations: 252.7 kB / 0.5054 GB, free: 24.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.348, allocations: 139.1 kB / 0.5056 GB, free: 24.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3482, allocations: 287.3 kB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3482, allocations: 29.7 kB / 0.5059 GB, free: 24.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.3483, allocations: 253 kB / 0.5061 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3483, allocations: 62.05 kB / 0.5062 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.3484, allocations: 62.72 kB / 0.5062 GB, free: 23.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.3485, allocations: 337.7 kB / 0.5065 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3487, allocations: 83.25 kB / 0.5066 GB, free: 23.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3489, allocations: 164 kB / 0.5068 GB, free: 23.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.3494, allocations: 259.6 kB / 0.507 GB, free: 23.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3494, allocations: 0 / 0.507 GB, free: 23.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005677/0.3499, allocations: 309.4 kB / 0.5073 GB, free: 23.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3499, allocations: 8.844 kB / 0.5073 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3499, allocations: 3.031 kB / 0.5073 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.35, allocations: 6 kB / 0.5073 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3503, allocations: 98 kB / 0.5074 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3504, allocations: 6.062 kB / 0.5074 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.3506, allocations: 38.33 kB / 0.5075 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3506, allocations: 16.83 kB / 0.5075 GB, free: 23.04 MB / 446.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.0001046/0.3507, allocations: 149.1 kB / 0.5076 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.3508, allocations: 27.84 kB / 0.5077 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.3509, allocations: 27.03 kB / 0.5077 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3509, allocations: 3 kB / 0.5077 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3509, allocations: 6.969 kB / 0.5077 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3509, allocations: 0 / 0.5077 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.3514, allocations: 0.4998 MB / 0.5082 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3514, allocations: 0 / 0.5082 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3517, allocations: 59.89 kB / 0.5082 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3517, allocations: 2.969 kB / 0.5082 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3517, allocations: 11.19 kB / 0.5083 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3517, allocations: 3.031 kB / 0.5083 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3517, allocations: 4.062 kB / 0.5083 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.3521, allocations: 396.6 kB / 0.5086 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3521, allocations: 24.98 kB / 0.5087 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3522, allocations: 7.469 kB / 0.5087 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3524, allocations: 16.55 kB / 0.5087 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3524, allocations: 20.7 kB / 0.5087 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3525, allocations: 6.094 kB / 0.5087 GB, free: 22.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3526, allocations: 200.2 kB / 0.5089 GB, free: 21.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3526, allocations: 3.938 kB / 0.5089 GB, free: 21.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.353, allocations: 77.44 kB / 0.509 GB, free: 21.95 MB / 446.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 8.893e-05/0.3531, allocations: 99.25 kB / 0.5091 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.3536, allocations: 188.1 kB / 0.5093 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3536, allocations: 0 / 0.5093 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3538, allocations: 80.69 kB / 0.5093 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3542, allocations: 21.88 kB / 0.5094 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007981/0.355, allocations: 0.5699 MB / 0.5099 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3551, allocations: 173.3 kB / 0.5101 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.3552, allocations: 25.2 kB / 0.5101 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3552, allocations: 17.56 kB / 0.5101 GB, free: 21.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3552, allocations: 0 / 0.5101 GB, free: 21.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004603/0.3598, allocations: 1.515 MB / 0.5116 GB, free: 21.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.992316329036839]