Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001373, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.69 kB / 306.5 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09275, allocations: 50.53 MB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006322/0.09911, allocations: 5.044 MB / 362 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1025, allocations: 2.113 MB / 364.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.1029, allocations: 16 kB / 364.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.106, allocations: 1.319 MB / 365.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1071, allocations: 366.2 kB / 365.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.1092, allocations: 1.137 MB / 367 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.1101, allocations: 0.7239 MB / 367.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.1112, allocations: 0.743 MB / 368.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.1117, allocations: 330.8 kB / 368.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005555/0.1123, allocations: 426.3 kB / 369.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.1124, allocations: 68 kB / 369.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000813/0.1132, allocations: 415.6 kB / 369.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1134, allocations: 163.4 kB / 369.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.1137, allocations: 374.2 kB / 370.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1484/0.2622, allocations: 1.186 MB / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2622, allocations: 0 / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2622, allocations: 1.031 kB / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.2623, allocations: 2.281 kB / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004275/0.2665, allocations: 1.458 MB / 372.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2666, allocations: 9.875 kB / 372.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.2693, allocations: 386.5 kB / 373.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2695, allocations: 252.1 kB / 373.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/0.2696, allocations: 67.66 kB / 373.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.2697, allocations: 82.62 kB / 373.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.2714, allocations: 0.8729 MB / 374.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.2714, allocations: 5.703 kB / 374.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.2715, allocations: 31.94 kB / 374.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2715, allocations: 23.7 kB / 374.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.2733, allocations: 0.7989 MB / 375.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.2772, allocations: 3.052 MB / 378.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2783, allocations: 1.002 MB / 379.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.2788, allocations: 244.5 kB / 379.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.2789, allocations: 174.8 kB / 379.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2789, allocations: 39.28 kB / 379.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.963e-06/0.2789, allocations: 0 / 379.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007026/0.286, allocations: 2.394 MB / 382.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.286, allocations: 85.38 kB / 382.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.2863, allocations: 296.1 kB / 382.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.2863, allocations: 37.53 kB / 382.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2865, allocations: 365 kB / 383 MB, free: 6.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2866, allocations: 214.6 kB / 383.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.2868, allocations: 145.9 kB / 383.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2869, allocations: 348.5 kB / 383.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/0.2876, allocations: 273.6 kB / 384 MB, free: 6.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.2884, allocations: 0.4989 MB / 384.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.2899, allocations: 0.8093 MB / 385.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.29, allocations: 7.172 kB / 385.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001955/0.2919, allocations: 0.8985 MB / 386.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2919, allocations: 7.5 kB / 386.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.292, allocations: 7.781 kB / 386.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.2922, allocations: 76.81 kB / 386.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/0.2931, allocations: 200.6 kB / 386.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.2944, allocations: 2.859 MB / 389.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.2951, allocations: 68.53 kB / 389.4 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.2952, allocations: 33.2 kB / 389.4 MB, free: 2.055 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.2954, allocations: 216.8 kB / 389.6 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.2955, allocations: 40.09 kB / 389.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.2973, allocations: 0.7436 MB / 390.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2973, allocations: 7.156 kB / 390.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2974, allocations: 1.344 kB / 390.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2974, allocations: 5.828 kB / 390.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.2997, allocations: 1.421 MB / 391.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2998, allocations: 0 / 391.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.3004, allocations: 135.2 kB / 392 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.3006, allocations: 55.77 kB / 392 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.3006, allocations: 15.62 kB / 392 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.3023, allocations: 2.85 MB / 394.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3023, allocations: 0 / 394.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.3048, allocations: 1.08 MB / 396 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.305, allocations: 165.7 kB / 396.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.3051, allocations: 11.38 kB / 396.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.3056, allocations: 51.62 kB / 396.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3057, allocations: 39.89 kB / 396.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3058, allocations: 24 kB / 396.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.306, allocations: 211.2 kB / 396.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.306, allocations: 0 / 396.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007012/0.3067, allocations: 173 kB / 396.6 MB, free: 13.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.307, allocations: 160.4 kB / 396.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3091, allocations: 0.9314 MB / 397.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3091, allocations: 0 / 397.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.31, allocations: 0.5489 MB / 398.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3104, allocations: 49.78 kB / 398.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3131, allocations: 1.553 MB / 399.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3135, allocations: 0.8805 MB / 400.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.314, allocations: 91.16 kB / 400.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3142, allocations: 51.67 kB / 400.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3142, allocations: 0 / 400.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Templates: time 0.01076/0.325, allocations: 6.271 MB / 407.2 MB, free: 6.348 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches