Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001372/0.001372, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001673/0.001673, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 64.77 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4019, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.006662/0.4085, allocations: 3.536 MB / 436 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.4107, allocations: 0.8587 MB / 436.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.4112, allocations: 11.94 kB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.4115, allocations: 67.3 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.4119, allocations: 134.8 kB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.4125, allocations: 135.8 kB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.4132, allocations: 0.5094 MB / 437.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.4134, allocations: 95.69 kB / 437.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.4139, allocations: 199.3 kB / 438 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.4142, allocations: 211 kB / 438.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.4143, allocations: 40 kB / 438.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4144, allocations: 48 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.4145, allocations: 83.69 kB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.4147, allocations: 222.9 kB / 438.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.4154, allocations: 0.5014 MB / 439 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4154, allocations: 0 / 439 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4154, allocations: 4 kB / 439 MB, free: 324 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4155, allocations: 3.938 kB / 439.1 MB, free: 320 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001333/0.4168, allocations: 0.6606 MB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4168, allocations: 8.031 kB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.4173, allocations: 84.58 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.4178, allocations: 266.3 kB / 440.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.4178, allocations: 21.03 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.4179, allocations: 32.38 kB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.4187, allocations: 359.1 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4187, allocations: 0 / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.4188, allocations: 19.94 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4188, allocations: 8 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.4194, allocations: 266.5 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.4218, allocations: 1.376 MB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.4223, allocations: 202.4 kB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4225, allocations: 97.22 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4225, allocations: 7.938 kB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.4226, allocations: 42.41 kB / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/0.4226, allocations: 0 / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001622/0.4242, allocations: 488.3 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4243, allocations: 51.41 kB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.4247, allocations: 308.6 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.4247, allocations: 33.7 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.4249, allocations: 216.5 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.425, allocations: 83.31 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4251, allocations: 49.66 kB / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.4253, allocations: 338.8 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.4255, allocations: 79.95 kB / 444.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4258, allocations: 133 kB / 444.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.4262, allocations: 196.1 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4262, allocations: 4 kB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000827/0.427, allocations: 351.7 kB / 444.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4271, allocations: 8 kB / 444.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4271, allocations: 288 / 444.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.4276, allocations: 122.5 kB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.4278, allocations: 27.97 kB / 444.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/0.4328, allocations: 4.668 MB / 449.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.4331, allocations: 28.08 kB / 449.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.4331, allocations: 12 kB / 449.6 MB, free: 5.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.4334, allocations: 149.8 kB / 449.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.4335, allocations: 39.75 kB / 449.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/0.4335, allocations: 39.27 kB / 449.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4335, allocations: 3.984 kB / 449.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4335, allocations: 0 / 449.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4336, allocations: 0 / 449.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.4341, allocations: 352.3 kB / 450.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4341, allocations: 4 kB / 450.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4342, allocations: 15.98 kB / 450.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.4346, allocations: 122.4 kB / 450.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4346, allocations: 4 kB / 450.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.439, allocations: 4.662 MB / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.439, allocations: 0 / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.4399, allocations: 409.3 kB / 455.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.44, allocations: 47.72 kB / 455.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.4401, allocations: 8 kB / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.4403, allocations: 23.97 kB / 455.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4404, allocations: 23.95 kB / 455.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.4404, allocations: 7.938 kB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.4407, allocations: 231 kB / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4407, allocations: 0 / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007774/0.4415, allocations: 115.8 kB / 455.8 MB, free: 14.46 MB / 366.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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.4416, allocations: 99.25 kB / 455.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4427, allocations: 0.5621 MB / 456.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4427, allocations: 0 / 456.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.4434, allocations: 479.9 kB / 457 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.4439, allocations: 65.98 kB / 457 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4454, allocations: 0.6303 MB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.4458, allocations: 0.7992 MB / 458.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.446, allocations: 26.97 kB / 458.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.446, allocations: 19.44 kB / 458.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.446, allocations: 0 / 458.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01283/0.4589, allocations: 5.706 MB / 464.2 MB, free: 5.996 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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: 5.760609827935696]