Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 117.7 kB / 17.78 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.001382/0.001382, allocations: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003149/0.2893, allocations: 2.045 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2906, allocations: 0.6545 MB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.2907, allocations: 0 / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.2908, allocations: 23.78 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2909, allocations: 39.62 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.2914, allocations: 107.2 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.2916, allocations: 187.3 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2918, allocations: 49.53 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.2921, allocations: 87.64 kB / 412 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2922, allocations: 75.67 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.2922, allocations: 16 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.2923, allocations: 28 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.2923, allocations: 39.83 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.2924, allocations: 79.59 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.2927, allocations: 185 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2927, allocations: 0 / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2927, allocations: 3.938 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2927, allocations: 0 / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007674/0.2935, allocations: 474.8 kB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2935, allocations: 12.03 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.2936, allocations: 38.73 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.294, allocations: 60.8 kB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.2943, allocations: 212 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2943, allocations: 8.375 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2944, allocations: 8.375 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2947, allocations: 160.1 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2947, allocations: 0 / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2947, allocations: 8 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2947, allocations: 4 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.295, allocations: 91.94 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.2959, allocations: 0.5109 MB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.2962, allocations: 102.5 kB / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2964, allocations: 68.83 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2964, allocations: 160 / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2965, allocations: 50.47 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2965, allocations: 0 / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004768/0.2969, allocations: 137.5 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.297, allocations: 106.8 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2972, allocations: 158.2 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2972, allocations: 29.7 kB / 414.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.2973, allocations: 127.7 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2973, allocations: 23.66 kB / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.2974, allocations: 33.64 kB / 414.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.2975, allocations: 326.8 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2976, allocations: 35.97 kB / 415.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2978, allocations: 76.27 kB / 415.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.298, allocations: 102.9 kB / 415.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.2981, allocations: 3.938 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003655/0.2984, allocations: 161.3 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2985, allocations: 4 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2985, allocations: 0 / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2985, allocations: 4 kB / 415.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.2991, allocations: 75.92 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.3005, allocations: 1.504 MB / 417 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3008, allocations: 23.83 kB / 417.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3008, allocations: 4 kB / 417.1 MB, free: 8.789 MB / 334.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 (11): * Single equations (assignments): 10 * 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.0001338/0.3009, allocations: 129.7 kB / 417.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.301, allocations: 7.906 kB / 417.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.3015, allocations: 159.2 kB / 417.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3015, allocations: 3.938 kB / 417.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.3015, allocations: 0 / 417.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3015, allocations: 8.031 kB / 417.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/0.3023, allocations: 472 kB / 417.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3023, allocations: 0 / 417.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3025, allocations: 23.98 kB / 417.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.3027, allocations: 32.86 kB / 417.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3027, allocations: 4 kB / 417.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3039, allocations: 1.394 MB / 419.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3039, allocations: 0 / 419.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.3046, allocations: 301 kB / 419.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.3046, allocations: 88.98 kB / 419.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3047, allocations: 3.938 kB / 419.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3048, allocations: 24.05 kB / 419.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.3049, allocations: 3.984 kB / 419.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3049, allocations: 4 kB / 419.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.305, allocations: 120.1 kB / 419.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.305, allocations: 0 / 419.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.3054, allocations: 39.91 kB / 419.9 MB, free: 5.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008878/0.3062, allocations: 0.8233 MB / 420.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.307, allocations: 136 kB / 420.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.307, allocations: 4 kB / 420.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.3073, allocations: 158.7 kB / 421 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3076, allocations: 15.94 kB / 421 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.311, allocations: 2.12 MB / 423.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3113, allocations: 0.708 MB / 423.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.3114, allocations: 8.547 kB / 423.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.3115, allocations: 43.42 kB / 423.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3115, allocations: 0 / 423.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.3371, allocations: 3.444 MB / 427.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.49, allocations: 6 kB / 427.3 MB, free: 14.26 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Inductance1.i,SaturatingInductance1.Psi Variables in the result:Ground1.p.i,Ground1.p.v,Inductance1.L,Inductance1.i,Inductance1.n.i,Inductance1.n.v,Inductance1.p.i,Inductance1.p.v,Inductance1.v,Inom,Linf,Lnom,Lzer,SaturatingInductance1.Inom,SaturatingInductance1.Lact,SaturatingInductance1.Linf,SaturatingInductance1.Lnom,SaturatingInductance1.Lzer,SaturatingInductance1.Psi,SaturatingInductance1.i,SaturatingInductance1.n.i,SaturatingInductance1.n.v,SaturatingInductance1.p.i,SaturatingInductance1.p.v,SaturatingInductance1.v,SineVoltage1.V,SineVoltage1.f,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.continuous,SineVoltage1.signalSource.f,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,U,der(Inductance1.i),der(SaturatingInductance1.Psi),f,phase,time