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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2487/0.2487, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.417, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004055/0.4211, allocations: 2.698 MB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.4225, allocations: 0.7809 MB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.4227, allocations: 6.5 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.4229, allocations: 76.02 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.4232, allocations: 111.6 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.4235, allocations: 106.8 kB / 0.5347 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.4239, allocations: 414.1 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.4242, allocations: 148.9 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.4244, allocations: 150.2 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.4246, allocations: 176.3 kB / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.4246, allocations: 33.12 kB / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.704e-05/0.4247, allocations: 32.5 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.4248, allocations: 73.86 kB / 0.5356 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.4249, allocations: 188.1 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.4254, allocations: 421.8 kB / 0.5362 GB, free: 9.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4254, allocations: 1.062 kB / 0.5362 GB, free: 9.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4254, allocations: 0 / 0.5362 GB, free: 9.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.4255, allocations: 0 / 0.5362 GB, free: 9.766 MB / 398.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.001155/0.4266, allocations: 0.6728 MB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4267, allocations: 10.62 kB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.4268, allocations: 44.59 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4272, allocations: 285.6 kB / 0.5372 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.4272, allocations: 26.22 kB / 0.5372 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.4273, allocations: 29.72 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.428, allocations: 366.3 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4281, allocations: 1.25 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.4281, allocations: 14.81 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4281, allocations: 11.78 kB / 0.5376 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.4288, allocations: 269.5 kB / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.431, allocations: 1.338 MB / 0.5392 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.4315, allocations: 197.8 kB / 0.5394 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4317, allocations: 84.88 kB / 0.5395 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.4317, allocations: 10.53 kB / 0.5395 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4318, allocations: 36.25 kB / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.4318, allocations: 0 / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008478/0.4326, allocations: 255.9 kB / 0.5398 GB, free: 6.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.4327, allocations: 131.5 kB / 0.5399 GB, free: 6.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.4331, allocations: 343.4 kB / 0.5402 GB, free: 6.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4332, allocations: 31.27 kB / 0.5402 GB, free: 6.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.4334, allocations: 236.6 kB / 0.5405 GB, free: 6.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.4334, allocations: 50.52 kB / 0.5405 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.4335, allocations: 55.05 kB / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4337, allocations: 352.5 kB / 0.5409 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.4339, allocations: 76.03 kB / 0.541 GB, free: 5.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.4342, allocations: 181.2 kB / 0.5411 GB, free: 5.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.4348, allocations: 244 kB / 0.5414 GB, free: 5.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4348, allocations: 5.625 kB / 0.5414 GB, free: 5.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006655/0.4355, allocations: 295.8 kB / 0.5417 GB, free: 5.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4355, allocations: 13.64 kB / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4355, allocations: 3.375 kB / 0.5417 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4355, allocations: 8.688 kB / 0.5417 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.436, allocations: 88.72 kB / 0.5418 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.436, allocations: 8.859 kB / 0.5418 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.4363, allocations: 48.02 kB / 0.5418 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.4363, allocations: 13.88 kB / 0.5418 GB, free: 5.215 MB / 398.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.0001445/0.4364, allocations: 148.1 kB / 0.542 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.4367, allocations: 38.69 kB / 0.542 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.4367, allocations: 35.45 kB / 0.5421 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4368, allocations: 6.375 kB / 0.5421 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4368, allocations: 1.156 kB / 0.5421 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4368, allocations: 1.188 kB / 0.5421 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.4376, allocations: 0.5938 MB / 0.5426 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4376, allocations: 2.156 kB / 0.5426 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.4379, allocations: 54.16 kB / 0.5427 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.4379, allocations: 2.5 kB / 0.5427 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.4379, allocations: 11.47 kB / 0.5427 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4379, allocations: 10.23 kB / 0.5427 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4379, allocations: 6.156 kB / 0.5427 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.4384, allocations: 397.4 kB / 0.5431 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.4385, allocations: 109.8 kB / 0.5432 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.4386, allocations: 14.58 kB / 0.5432 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4388, allocations: 13.11 kB / 0.5432 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.4389, allocations: 14.64 kB / 0.5432 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4389, allocations: 7.688 kB / 0.5433 GB, free: 3.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.4392, allocations: 246.6 kB / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4392, allocations: 0 / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.4396, allocations: 71.03 kB / 0.5436 GB, free: 3.762 MB / 398.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.0001303/0.4397, allocations: 100 kB / 0.5437 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.4403, allocations: 197.2 kB / 0.5438 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4403, allocations: 0 / 0.5438 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.4406, allocations: 82.53 kB / 0.5439 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.441, allocations: 25.5 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4421, allocations: 0.5504 MB / 0.5445 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.4425, allocations: 0.7761 MB / 0.5452 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.4426, allocations: 20.61 kB / 0.5453 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.4427, allocations: 19.72 kB / 0.5453 GB, free: 2.371 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4427, allocations: 0 / 0.5453 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Templates: time 0.005087/0.4478, allocations: 1.867 MB / 0.5471 GB, free: 0.7383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches