Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001785/0.001785, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 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.001762/0.001762, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.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.2536/0.2536, allocations: 46.95 MB / 360.8 MB, free: 3.941 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 79.88 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3275, allocations: 66.09 MB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003293/0.3308, allocations: 1.847 MB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3319, allocations: 0.5542 MB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.3319, allocations: 4 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.332, allocations: 11.86 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3322, allocations: 47.56 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3324, allocations: 83.83 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3326, allocations: 155.5 kB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3328, allocations: 23.08 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3329, allocations: 75.75 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3331, allocations: 63.75 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3331, allocations: 12 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.3331, allocations: 16 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.3332, allocations: 31.86 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.3332, allocations: 51.77 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3335, allocations: 147.4 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.3335, allocations: 0 / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3335, allocations: 0 / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.3335, allocations: 0 / 0.5637 GB, free: 0.9531 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007427/0.3343, allocations: 377.8 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3343, allocations: 12.03 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.3343, allocations: 34.75 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.3346, allocations: 48.81 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3348, allocations: 132.9 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3348, allocations: 4.375 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3348, allocations: 8.375 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.3352, allocations: 187.7 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3352, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3352, allocations: 4 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3352, allocations: 0 / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.3356, allocations: 107.8 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.3364, allocations: 394.6 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3367, allocations: 90.52 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3368, allocations: 36.92 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3369, allocations: 4 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3369, allocations: 30.56 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.166e-06/0.3369, allocations: 4 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001331/0.3382, allocations: 329.2 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3383, allocations: 110.8 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3384, allocations: 152.2 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3385, allocations: 29.7 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3386, allocations: 116.2 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.3386, allocations: 23.78 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3387, allocations: 25.7 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3388, allocations: 322.8 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3391, allocations: 59.94 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.3393, allocations: 151.6 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.3398, allocations: 138.4 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3398, allocations: 4.031 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005177/0.3403, allocations: 169.5 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3403, allocations: 7.938 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3403, allocations: 4 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3403, allocations: 4.062 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.341, allocations: 83.91 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.3424, allocations: 1.389 MB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3427, allocations: 20.02 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3427, allocations: 11.92 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.3428, allocations: 121.8 kB / 0.5683 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3429, allocations: 7.953 kB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.3434, allocations: 166.5 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3434, allocations: 0 / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.3434, allocations: 0 / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3434, allocations: 7.984 kB / 0.5685 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.3442, allocations: 421.4 kB / 0.5689 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3442, allocations: 0 / 0.5689 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3444, allocations: 27.97 kB / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3444, allocations: 4 kB / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3444, allocations: 0 / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3444, allocations: 3.938 kB / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3444, allocations: 64 / 0.5689 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.345, allocations: 255.4 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.345, allocations: 11.95 kB / 0.5691 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.345, allocations: 7.922 kB / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3452, allocations: 23.92 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3453, allocations: 12.17 kB / 0.5692 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3453, allocations: 0 / 0.5692 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.3454, allocations: 115.2 kB / 0.5693 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3454, allocations: 0 / 0.5693 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3456, allocations: 32 kB / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0008368/0.3465, allocations: 0.7787 MB / 0.5701 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009231/0.3474, allocations: 167.8 kB / 0.5703 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3474, allocations: 0 / 0.5703 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.3476, allocations: 72 kB / 0.5703 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.348, allocations: 18.52 kB / 0.5703 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.3515, allocations: 1.981 MB / 0.5723 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.3516, allocations: 88.81 kB / 0.5724 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.3516, allocations: 16.41 kB / 0.5724 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3517, allocations: 35.42 kB / 0.5724 GB, free: 7.438 MB / 414.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3517, allocations: 0 / 0.5724 GB, free: 7.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.3839, allocations: 3.83 MB / 0.5761 GB, free: 3.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.89, allocations: 10.42 kB / 0.5762 GB, free: 3.715 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: 15.710892079863697]